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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mixed precision training example #54

Merged
merged 5 commits into from Jul 19, 2023

Conversation

ankitgola005
Copy link
Contributor

Add mixed precision training example

Usage:
python -u mnist_trainer.py -v
to override ops with autocast:
LOWER_LIST=<path_to_bf16_ops> python -u mnist_trainer.py -v

  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Added mixed precision training example

Fixes # (issue).

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 馃檭

ankitgola005 and others added 4 commits July 7, 2023 09:11
Usage:
python -u mnist_trainer.py -v
to override ops with autocast:
LOWER_LIST=<path_to_bf16_ops> python -u mnist_trainer.py -v

Signed-off-by: Ankit Gola <agola@habana.ai>
@ankitgola005 ankitgola005 marked this pull request as ready for review July 12, 2023 05:20
@Borda Borda added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 12, 2023
@jerome-habana jerome-habana requested a review from Borda July 17, 2023 02:30
@jerome-habana jerome-habana merged commit 1f1627e into Lightning-AI:main Jul 19, 2023
16 checks passed
@ankitgola005 ankitgola005 deleted the autocast_example branch February 7, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants