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

Auto Quantization? #2

Open
KastanDay opened this issue Oct 11, 2023 · 0 comments
Open

Auto Quantization? #2

KastanDay opened this issue Oct 11, 2023 · 0 comments

Comments

@KastanDay
Copy link
Member

If a model hits an OOM error, we could try quantizing it for the user.

They can already specify quantization themselves, this is just an error-handling auto thing.

Cuda-OOM errors: If your model doesn't fit on our 4xA40 (48 GB) server we return an error. Coming soon, we should fallback to accelerate ZeRO stage-3 (CPU/Disk offload). And/or allow a flag for quantization, load_in_8bit=True or load_in_4bit=True.

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