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

fix: Clear CUDA cache to reduce OOM #536

Merged
merged 2 commits into from
Jul 25, 2024
Merged

fix: Clear CUDA cache to reduce OOM #536

merged 2 commits into from
Jul 25, 2024

Conversation

ishaansehgal99
Copy link
Collaborator

Reason for Change:
Use callback function to clear CUDA cache to reduce OOM every training step.

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.88%. Comparing base (ed546f0) to head (1668256).
Report is 17 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #536      +/-   ##
==========================================
- Coverage   61.10%   58.88%   -2.22%     
==========================================
  Files          29       30       +1     
  Lines        2602     2790     +188     
==========================================
+ Hits         1590     1643      +53     
- Misses        921     1051     +130     
- Partials       91       96       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Fei-Guo Fei-Guo merged commit 66f5711 into main Jul 25, 2024
7 of 8 checks passed
@Fei-Guo Fei-Guo deleted the Ishaan/fix-gpu-oom branch July 25, 2024 17:18
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.

2 participants