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

[FutureWarning] Fixing warning triggered by torch.cuda.reset_max_memory_allocated() usage. #9930

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

drivanov
Copy link
Contributor

This PR addresses the following warning that occurs during the

/usr/local/lib/python3.12/dist-packages/torch/cuda/memory.py:374: FutureWarning: torch.cuda.reset_max_memory_allocated 
now calls torch.cuda.reset_peak_memory_stats, which resets /all/ peak memory stats. 

that occurs during the molecule_gpt test:

python3 /workspace/examples/llm/molecule_gpt.py

@drivanov drivanov requested a review from wsad1 as a code owner January 10, 2025 01:03
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.

1 participant