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

Add support to foreach torch.zero for bfloat16s #90437

Closed

Conversation

drisspg
Copy link
Contributor

@drisspg drisspg commented Dec 8, 2022

Summary

When training a model with SGD(..., foreach=true) found that bfloat16 model was erroring with no cuda support for empty.

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 8, 2022

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/90437

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 Failures

As of commit 2272b79:

The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the release notes: foreach_frontend release notes category label Dec 8, 2022
@drisspg drisspg requested a review from janeyx99 December 8, 2022 02:29
@drisspg drisspg changed the title Add support to torch empty for bfloat16s Add support to foreach torch empty for bfloat16s Dec 8, 2022
@drisspg
Copy link
Contributor Author

drisspg commented Dec 8, 2022

@pytorchbot merge -f "distributed failures are unrelated to my change"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
# Summary
When training a model with SGD(..., foreach=true) found that bfloat16 model was erroring with no cuda support for empty.
Pull Request resolved: pytorch#90437
Approved by: https://github.com/soumith
@ngimel ngimel changed the title Add support to foreach torch empty for bfloat16s Add support to foreach torch.zero for bfloat16s Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants