Revert "Remove unnecessary import in python_variable.cpp (#107794)"
This reverts commit 9d23b8b3eabe2cd38eb5a11cc49cda6970675595.
Reverted https://github.com/pytorch/pytorch/pull/107794 on behalf of https://github.com/ZainRizvi due to Diff train weirdness. Need to temporarily revert this PR and will right land it soon afterwards ([comment](https://github.com/pytorch/pytorch/pull/107794#issuecomment-1690798855))