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

ModuleNotFoundError: No module named 'utils.prompter' #14

Open
cyrilakafia opened this issue Aug 18, 2023 · 1 comment
Open

ModuleNotFoundError: No module named 'utils.prompter' #14

cyrilakafia opened this issue Aug 18, 2023 · 1 comment

Comments

@cyrilakafia
Copy link

cyrilakafia commented Aug 18, 2023

my commonda to test the finetuned model

! CUDA_VISIBLE_DEVICES=0 python generate.py --base_model '/content/drive/MyDrive/Colab Notebooks/llama_finetuning/llama-lora-fine-tuning/llama-7b-hf' --lora_weights '/content/drive/MyDrive/Colab Notebooks/llama_finetuning/output'

error

CUDA SETUP: Loading binary /usr/local/lib/python3.10/dist-packages/bitsandbytes/libbitsandbytes_cuda118.so...
[2023-08-18 02:27:44,650] [INFO] [real_accelerator.py:133:get_accelerator] Setting ds_accelerator to cuda (auto detect)
2023-08-18 02:27:50.421384: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/content/drive/.shortcut-targets-by-id/1-8pwxu1XoRTFqpdzvU1bdVqJa2Nr6xkj/llama-lora-fine-tuning/generate.py", line 10, in
from utils.prompter import Prompter
ModuleNotFoundError: No module named 'utils.prompter'

@little51
Copy link
Contributor

please git pull and retry,I added prmpter

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