Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Refactor deprecated torch.cuda.amp.autocast #521

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

Conversation

WenjieDu
Copy link
Owner

What does this PR do?

  1. fixing FutureWarning: torch.cuda.amp.autocast(args...) is deprecated since torch 2.4 #520;

Before submitting

  • Was this discussed/approved via a GitHub issue? Please add a link to it if that's the case.

@WenjieDu
Copy link
Owner Author

This PR is only for torch>=2.4, so hold it here for future merge.

@coveralls
Copy link
Collaborator

coveralls commented Sep 24, 2024

Pull Request Test Coverage Report for Build 11008733186

Details

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.007%) to 83.34%

Totals Coverage Status
Change from base Build 10981319450: -0.007%
Covered Lines: 11195
Relevant Lines: 13433

💛 - Coveralls

Copy link

github-actions bot commented Oct 9, 2024

This pull request had no activity for 14 days. It will be closed in 1 week unless there is some new activity.

@github-actions github-actions bot added the stale label Oct 9, 2024
@WenjieDu WenjieDu added keep Keep this issue away from being stale. warning and removed stale labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep Keep this issue away from being stale. warning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants