-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Inference with GPT-J-6B.ipynb NameError: name 'init_empty_weights' is not defined when loading model #131
Comments
Cc'ing @sgugger, also experienced this when loading weights of GPT-NeoX. Might be fixed already on the main branch. |
Looks like you don't have |
Thank you installing accelerate and then restarting the notebook fixed it :) |
I have accelerate installed but I'm getting the same error when running: Transformers version 4.25.1 |
iam trying to load vicuna-7b-delta-v1.1 on cloab and , all the above solution didn't work ; and got this error
|
I have installed accelerate but same error in running: |
When loading model in Google Colab Pro for Inference with GPT-J-6B notebook - I am able to download the model, but then receive this error:
Downloading: 100%
836/836 [00:00<00:00, 25.0kB/s]
Downloading: 100%
11.3G/11.3G [03:09<00:00, 62.7MB/s]
The text was updated successfully, but these errors were encountered: