-
Notifications
You must be signed in to change notification settings - Fork 312
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
Cannot run on Mac with Python 3.11.3 #81
Comments
Same Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
It's a problem with
The link is from the py-itree PyPi page |
This did resolve the error, however, nothing is getting downloaded at least for me. ` python -m llama.download --model_size 7B ❤️ Resume download is supported. You can ctrl-c and rerun the program to resume the downloading |
This issue should contain the solution to that #47 Most probably you need to do: pip uninstall pyllama |
Same issue and after following both directions here it didnt error out anymore but now when I try and download I get this. Looks like im in some sort of loop. I could paste more but it just goes on and on. `❤️ Resume download is supported. You can ctrl-c and rerun the program to resume the downloading ❤️ Resume download is supported. You can ctrl-c and rerun the program to resume the downloading |
After trying everything else, this finally solved it for me: you have to |
python3 -m llama.download --model_size 7B
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/itree/init.py", line 5, in
from . import _itree
ImportError: cannot import name '_itree' from partially initialized module 'itree' (most likely due to a circular import) (/opt/homebrew/lib/python3.11/site-packages/itree/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 112, in _get_module_details
File "/opt/homebrew/lib/python3.11/site-packages/llama/init.py", line 17, in
from .model_single import ModelArgs, Transformer
File "/opt/homebrew/lib/python3.11/site-packages/llama/model_single.py", line 7, in
import hiq
File "/opt/homebrew/lib/python3.11/site-packages/hiq/init.py", line 59, in
from .tree import get_duration_from_hiq_string, get_graph_from_string, Tree
File "/opt/homebrew/lib/python3.11/site-packages/hiq/tree.py", line 9, in
import itree
File "/opt/homebrew/lib/python3.11/site-packages/itree/init.py", line 7, in
import _itree
ImportError: dlopen(/opt/homebrew/lib/python3.11/site-packages/_itree.cpython-311-darwin.so, 0x0002): tried: '/opt/homebrew/lib/python3.11/site-packages/_itree.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/python3.11/site-packages/_itree.cpython-311-darwin.so' (no such file), '/opt/homebrew/lib/python3.11/site-packages/_itree.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
The text was updated successfully, but these errors were encountered: