if you have a python file that has import torch, it is not a binary that will come under pytorch licensing.

but if I’m simply doing “import torch” is that considered distributing pytorch in source or binary form?

No.
If you include PyTorch source code or binary forms (i.e. the files shipped with PyTorch which are .py or .so or other binaries), those files are under pytorch license.