Skip to content

Conversation

@naromero77amd
Copy link

@naromero77amd naromero77amd commented Nov 13, 2025

In the ROCm fork of PyTorch 2.8, Inductor currently has codegen support for fast_tanhf. However, there were some NaN issues in the original Triton implementation of fast_tanhf .

Upstream Triton has an improved fast_tanhf where the NaN issues are now fixed. This upstream commit has been backported to ROCm fork of Triton (see code comments).

A bump in the Triton commit is also needed.

Other notes:

@naromero77amd
Copy link
Author

I have confirmed that it resolves the reproducer in the Jira.

@rocm-repo-management-api
Copy link

rocm-repo-management-api bot commented Nov 13, 2025

Jenkins build for 084d7b39ee03b12ab04873ab83bd5d270e241f5a commit finished as FAILURE
Links: Blue Ocean view / Build artifacts

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.

2 participants