Skip to content

hipify version 2#76

Merged
jithunnair-amd merged 20 commits intomasterfrom
v2
May 6, 2025
Merged

hipify version 2#76
jithunnair-amd merged 20 commits intomasterfrom
v2

Conversation

@jeffdaily
Copy link
Contributor

@jeffdaily jeffdaily commented Apr 26, 2025

These changes correspond to pytorch/pytorch#151845 (and syncs changes from pytorch's hipify as part of this PR). torch's hipify version 2 significantly simplifies the the cuda to hip mappings, including a BC-breaking change of no longer using caffe2 mappings and getting rid of the Masquerading files. In order to ease the transition, hipify_torch will contain both versions of the mappings. An attempt is made to check which version of torch is installed and use the right mappings, otherwise the v1 mappings are used unless the caller specifies --v2.

pruthvistony
pruthvistony previously approved these changes May 5, 2025
Copy link
Collaborator

@jithunnair-amd jithunnair-amd left a comment

Choose a reason for hiding this comment

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

Looking forward to this simplification! Some changes might be needed though, as per the review comments.

@jeffdaily jeffdaily requested a review from jithunnair-amd May 5, 2025 21:57
@jeffdaily jeffdaily requested a review from pruthvistony May 6, 2025 20:54
Copy link
Collaborator

@jithunnair-amd jithunnair-amd left a comment

Choose a reason for hiding this comment

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

Looks good!

@jithunnair-amd jithunnair-amd merged commit a4337c6 into master May 6, 2025
1 check failed
@jithunnair-amd jithunnair-amd deleted the v2 branch May 6, 2025 21:11
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.

3 participants