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

Call cuda empty_cache to prevent OOM when quantizing model #2671

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

AllentDan
Copy link
Collaborator

No description provided.

@lvhan028 lvhan028 merged commit dde5d23 into InternLM:main Oct 31, 2024
4 of 5 checks passed
lvhan028 pushed a commit that referenced this pull request Nov 5, 2024
* Call cuda empty_cache to prevent OOM when quantizing model

* empty cache during export and after forward
AllentDan added a commit to AllentDan/lmdeploy that referenced this pull request Nov 13, 2024
…2671)

* Call cuda empty_cache to prevent OOM when quantizing model

* empty cache during export and after forward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants