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

🤔[question] can you provide me a example that use amp(mixed precision) #9817

Closed
2 tasks done
ShiroZhang opened this issue Aug 14, 2024 · 2 comments
Closed
2 tasks done
Labels

Comments

@ShiroZhang
Copy link

Describe your question

class AmpTrial(PyTorchTrial):
    pass

Checklist

  • Did you search the docs for a solution?
  • Did you search github issues to find if somebody asked this question before?
@ioga
Copy link
Contributor

ioga commented Aug 14, 2024

We don't require any of our own code for the amp. Simply follow the torch amp autocast docs, here's one example from our tests.

@ShiroZhang
Copy link
Author

We don't require any of our own code for the amp. Simply follow the torch amp autocast docs, here's one example from our tests.

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants