Skip to content
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

no module named llama #108

Open
Cooper-Ji opened this issue Jul 4, 2023 · 1 comment
Open

no module named llama #108

Cooper-Ji opened this issue Jul 4, 2023 · 1 comment

Comments

@Cooper-Ji
Copy link

python webapp_single.py --ckpt_dir $CKPT_DIR --tokenizer_path $TOKENIZER_PATH

when i run this command, these is a error : no module named llama??

@xwilsonx
Copy link

A similar case on my end, could please advice?

PS C:\swdtools\Workspace\pyllama\apps\gradio> python webapp_single.py --ckpt_dir C:\swdtools\Workspace\pyllama\pyllama_data\7B --tokenizer_path C:\swdtools\Workspace\pyllama\pyllama_data\tokenizer.mode
Traceback (most recent call last):
File "C:\swdtools\Workspace\pyllama\apps\gradio\webapp_single.py", line 13, in
from llama import ModelArgs, Transformer, Tokenizer, LLaMA
ImportError: cannot import name 'LLaMA' from 'llama' (C:\swdtools\Workspace\llama\llama_init_.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants