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

Replace deprecated pytorch methods #1814

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Nov 27, 2024

  1. Replace deprecated pytorch methods

    - torch.cuda.amp.GradScaler(...) => torch.amp.GradScaler("cuda", ...)
    - torch.cuda.amp.autocast(...) => torch.amp.autocast("cuda", ...)
    Li Peng committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    2d9825a View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2024

  1. Configuration menu
    Copy the full SHA
    30ba83a View commit details
    Browse the repository at this point in the history