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

TypeError: dispatch_model() got an unexpected keyword argument 'offload_index' #18

Closed
alisyzhu opened this issue Mar 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@alisyzhu
Copy link

base_model='llama-7b-hf', 2 GPU, but failed.

@LZY-the-boys
Copy link
Collaborator

It seems like the errors from internal packages (Maybe Accelerate?) . May you try to update these package to newest first ?

pip install git+https://github.com/huggingface/transformers.git
pip install git+https://github.com/huggingface/peft.git
pip install -U accelerate

Also please attach the full traceback for us to recognize the exact error.

@alisyzhu
Copy link
Author

yes,thank you ~

@Facico Facico added the bug Something isn't working label Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants