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

Implement torch diagflat, and movedim as well as it is also needed as a helper function (#7378) #8038

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

simonteozw
Copy link
Contributor

Need some guidance as to whether or not this was the right approach. Added movedim as the tests failed with torch_xla2.tensor.OperatorNotFound: Operator with name aten::movedim.int has no lowering

@simonteozw simonteozw changed the title Implement torch diagflat, and movedim as well as it is also needed as a helper function Implement torch diagflat, and movedim as well as it is also needed as a helper function (#7378) Sep 18, 2024
@ManfeiBai
Copy link
Collaborator

Need some guidance as to whether or not this was the right approach. Added movedim as the tests failed with torch_xla2.tensor.OperatorNotFound: Operator with name aten::movedim.int has no lowering

Saw you have added implementation for 'movedim', do we still met above error now?

Copy link
Collaborator

@ManfeiBai ManfeiBai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@ManfeiBai ManfeiBai merged commit b79a46b into pytorch:master Sep 18, 2024
3 checks passed
@simonteozw simonteozw deleted the diagflat branch September 19, 2024 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants