Skip to content

Conversation

@alextmagro
Copy link
Contributor

Removes several HIP workarounds for std:: math hipifications.

Requires ROCm/hipify_torch#82 prior to merging.

hipify_extra_files_only=False,
show_detailed=False)
show_detailed=False,
no_math_replace=True)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I didn't find this no_math_replace option in hipify_torch. Could you post the reference URL to it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This PR requires this hipify-torch commit which introduces no_math_replace:

ROCm/hipify_torch#82

Copy link
Collaborator

Choose a reason for hiding this comment

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

Alternatively, we can use commit from your hipify PR branch for time being

Copy link
Collaborator

@wenchenvincent wenchenvincent left a comment

Choose a reason for hiding this comment

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

@alextmagro We will need to add the hipify_torch changes in this PR. You can either wait for your hipify_torch PR to be merged or if it takes too long, we can use your hipify_torch feature branch for merging this TE PR and update to hipify_torch main later.

@alextmagro alextmagro merged commit 83735d8 into dev Nov 3, 2025
4 of 6 checks passed
@alextmagro alextmagro deleted the hipify_transpilation_fix branch November 3, 2025 21:21
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.

[TE] Fix issue with hipify-torch mapping std::max to ::max

5 participants