We only save the source code of the class definition. We do not save beyond that (like the package sources that the class is referring to).

I guess this has been changed recently?
After changing my source code folder name from src to <package-name> (e.g. abc), I got the following error:

File “/home/user/.env/python3/lib/python3.5/site-packages/torch/serialization.py”, line 613, in _load
result = unpickler.load()
ImportError: No module named ‘src’

Could you please tell me if there is a simple fix for the .pth files that I saved? I would like to keep <package-name> instead of src for the code.
Thank you very much in advance!