Skip to content

Conversation

@BoyuanFeng
Copy link
Contributor

@BoyuanFeng BoyuanFeng commented Nov 19, 2025

at::Tag::needs_fixed_stride_order is a bug in pytorch 2.6 and has been fixed since pytorch 2.7. Since we are on pytorch 2.9.1 now, we cleanup the legacy code.

cc @zou3519 @janeyx99

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly removes the usage of at::Tag::needs_fixed_stride_order, which was a workaround for a bug in PyTorch 2.6. As the project has upgraded to a newer PyTorch version where this bug is fixed, this cleanup is appropriate and well-executed. The changes are straightforward removals of the legacy tag and its associated definitions, and I found no issues with the implementation.

@zou3519 zou3519 added the ready ONLY add when PR is ready to merge/full CI is needed label Nov 19, 2025
@zou3519 zou3519 enabled auto-merge (squash) November 19, 2025 03:06
Copy link
Contributor

@janeyx99 janeyx99 left a comment

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants