-
-
Notifications
You must be signed in to change notification settings - Fork 489
ModuleNotFoundError: No module named 'torch._utils' #321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Following my assumption that this seems similar to the homebrew problem, I tried Simon's suggestion here: #315 (comment) When I run
|
OK, I think the problem was absurdly simple. In case anyone else is similarly vexed, this seems to have fixed it:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Ubuntu 22.04.3 LTS. I've tried installing llm using pip and pipx and run into the same problems. This seems related to the problem with homebrew installs on Mac but I'm not sure I understand everything well enough. Also, running pipdeptree doesn't clearly show any dependency version problems.
Traceback below. I get similar if I run llm commands via python on the commandline. However, I can run
llm embed -c 'This is some content' -m sentence-transformers/all-MiniLM-L6-v2
directly from the commandline without problem.The text was updated successfully, but these errors were encountered: