-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
ValueError: The current device_map
had weights offloaded to the disk.
#239
Comments
I have the same problem when I use the command line: here is my generate.yaml file:
I use a macbook pro Ventura 13.3 |
This article has a pretty good explanation on how to fix that issue. |
How would you apply the fix to running gpt4all command? |
I think you just add offload="offload" to the from_pretrained() call |
Thanks! |
@NewtonJr4108 did you fix this? If yes, how? Because we won't be explicitly calling the |
I have same problem. How do i provide |
Here is a example of offload_folder, found here - https://huggingface.co/blog/accelerate-large-models
|
mkdir offload Then inside of your python code, model = AutoModelForCausalLM.from_pretrained( |
Stale? Please open a new issue if this is still relevant. |
I supplied a folder, double checked the path and everything - still same issue. Not sure what's going on. I'm using transform.from_pretrainer(). |
GPT4AllGPU is no longer provided by this repo, and is not supported by Nomic anymore. |
Here is the complete error message:
Error in the second line
The text was updated successfully, but these errors were encountered: