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

quantization: instantiate model on CPU #163

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

t-vi
Copy link
Contributor

@t-vi t-vi commented Apr 19, 2023

Initialize the mode on CPU to save GPU RAM.

Fixes #148

Copy link
Collaborator

@lantiga lantiga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamped!

@lantiga lantiga merged commit d77eb23 into Lightning-AI:main Apr 19, 2023
timothylimyl referenced this pull request in timothylimyl/lit-llama-qa May 21, 2023
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

Successfully merging this pull request may close these issues.

OOM on VRAM during quantization
2 participants