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

Will this work for 6GB Vram ? 3050 #17

Open
vihangasa14 opened this issue Dec 20, 2024 · 1 comment
Open

Will this work for 6GB Vram ? 3050 #17

vihangasa14 opened this issue Dec 20, 2024 · 1 comment

Comments

@vihangasa14
Copy link

Some modules are dispatched on the CPU or the disk. Make sure you have enough GPU RAM to fit the quantized model. If you want to dispatch the model on the CPU or the disk while keeping these modules in 32-bit, you need to set llm_int8_enable_fp32_cpu_offload=True and pass a custom device_map to from_pretrained. Check https://huggingface.co/docs/transformers/main/en/main_classes/quantization#offload-between-cpu-and-gpu for more details.

@vihangasa14
Copy link
Author

JoyCaptionAlpha2Online
not enough values to unpack (expected 2, got 0)

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

1 participant