Skip to content

Add autocast support for einsum#8420

Merged
jeffhataws merged 8 commits intopytorch:masterfrom
aws-nm9:einsum_autocast
Dec 9, 2024
Merged

Add autocast support for einsum#8420
jeffhataws merged 8 commits intopytorch:masterfrom
aws-nm9:einsum_autocast

Conversation

@aws-nm9
Copy link
Copy Markdown
Contributor

@aws-nm9 aws-nm9 commented Nov 27, 2024

This PR adds support for einsum in autocast, and adds a test for the same.

This was previously raised in the issue #8405.

Comment thread test/test_einsum_autocast.py Outdated
Comment thread test/test_einsum_autocast.py Outdated
Comment thread test/test_einsum_autocast.py Outdated
Comment thread test/test_einsum_autocast.py Outdated
@jeffhataws
Copy link
Copy Markdown
Collaborator

Need linter fix

@aws-nm9
Copy link
Copy Markdown
Contributor Author

aws-nm9 commented Dec 6, 2024

Need linter fix

@jeffhataws @rpsilva-aws Thanks for comments, made the changes and did YAPF formatting (was using RUFF earlier), linter should be fixed.

Comment thread test/test_autocast_xla.py
@bhavya01
Copy link
Copy Markdown
Collaborator

bhavya01 commented Dec 9, 2024

Waiting for lint fixes and tests to pass before merging.

@jeffhataws jeffhataws requested a review from tengyifei December 9, 2024 23:43
@jeffhataws jeffhataws merged commit 7b5aca6 into pytorch:master Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants