Closed hududed closed 2 months ago
Facing the same issue with from ._utils import _import_dotted_name, classproperty ModuleNotFoundError: No module named 'torch._utils'
Hello!
I'm unable to reproduce this. It seems that perhaps your torch
install is problematic. Perhaps you can try reinstalling it?
Searching for ModuleNotFoundError: No module named 'torch._utils'
will produce other people with the same issue for different projects, so it's not sentence-transformers related.
Some users say that they encountered it after installing torch
without enough space left on their file-system, perhaps that was the cause?
I met same error and I fixed it by upgrading torch, sentence-transformers, torchvision to latest version.
That sounds like a good recommendation. Because I think your solution will solve this problem for everyone facing this, I'll mark this as resolved.
Just running the minimal code:
but running to this issue:
I am on a mac 11.7.8 (20G1351) no GPUs - please advise