no module named llama
Opened this issue · 1 comments
Cooper-Ji commented
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 commented
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)