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

fix for upstream triton #333

Closed
wants to merge 1 commit into from
Closed

Conversation

mattjj
Copy link
Collaborator

@mattjj mattjj commented Mar 13, 2025

I think due to these Triton upstream changes:
triton-lang/triton#6099
triton-lang/triton#6109

users are seeing this error message:
AttributeError: module 'triton.runtime.jit' has no attribute 'specialize_impl'

e.g. #330

This PR might make the jax-triton code more robust to triton code changes. I haven't tested it yet...

But more broadly we should identify versions of Triton that jax-triton works with, have those in CI, and explain those in our install instructions. (At the moment, we only ensure jax-triton works with the version of Triton that XLA uses, i.e. this commit.)

@mattjj
Copy link
Collaborator Author

mattjj commented Mar 14, 2025

Closing in favor of #334

@mattjj mattjj closed this Mar 14, 2025
superbobry added a commit to superbobry/jax-triton that referenced this pull request Mar 14, 2025
This is a backport of the fix proposed by mattjj@ in jax-ml#333.

I also fixed a few linter warnings to make sure at least our lint CI is green.

Note that the tests will still be red once this PR lands, because Triton
does not have a release incorporating all the recent API changes. I manually
verified that the tests pass with Triton compiled from their main branch.
superbobry added a commit to superbobry/jax-triton that referenced this pull request Mar 14, 2025
This is a backport of the fix proposed by mattjj@ in jax-ml#333.

I also fixed a few linter warnings to make sure at least our lint CI is green.

Note that the tests will still be red once this PR lands, because Triton
does not have a release incorporating all the recent API changes. I manually
verified that the tests pass with Triton compiled from their main branch.
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.

1 participant