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

[pallas:triton] The lowering now uses PTX instead of Triton IR #26081

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jan 24, 2025

[pallas:triton] The lowering now uses PTX instead of Triton IR

This change improves the stability and backward compatibility of Pallas Triton
calls, because unlike PTX, the Triton dialect has no stability guarantees
and does change in practice.

See #25196.

A few notes

  • Pallas Triton no longer delegates compilation to PTX to XLA:GPU. Instead,
    compilation is done via a new PjRt extension, which uses its own compilation
    pipeline mirrored after the one in the Triton Python bindings.
  • The implementation of the old custom call used by Pallas Triton is
    deprecated and will be removed after 6 months as per
    [compatibility guarantees] *

@copybara-service copybara-service bot force-pushed the test_717950300 branch 2 times, most recently from 1618bb9 to eb06157 Compare January 27, 2025 11:58
@copybara-service copybara-service bot force-pushed the test_717950300 branch 5 times, most recently from a29e616 to af03c37 Compare February 3, 2025 20:31
This change improves the stability and backward compatibility of Pallas Triton
calls, because unlike PTX, the Triton dialect has no stability guarantees
and does change in practice.

See #25196.

A few notes

* Pallas Triton no longer delegates compilation to PTX to XLA:GPU. Instead,
  compilation is done via a new PjRt extension, which uses its own compilation
  pipeline mirrored after the one in the Triton Python bindings.
* The implementation of the old custom call used by Pallas Triton is
  deprecated and will be removed after 6 months as per
  [compatibility guarantees] [*]

[*]: https://jax.readthedocs.io/en/latest/export/export.html#compatibility-guarantees

PiperOrigin-RevId: 722773884
@copybara-service copybara-service bot merged commit 7929cd8 into main Feb 3, 2025
1 check was pending
@copybara-service copybara-service bot deleted the test_717950300 branch February 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.

1 participant