Repository navigation
The compiler pin moves to 17ec55a: Triton with its tensor numel limit raised - #334
Merged
Merged
Conversation
…l limit raised PyTorchSim-Triton-Backend #42 (every fact about the IR read from the bindings; a drop_ops plugin pass the triton-compile stage now uses) and #43 (setup/triton.sh builds Triton with TRITON_MAX_TENSOR_NUMEL and maxTensorNumElements at 1 << 26) are on its main. The frontend reads that limit from the Triton it compiles with (PyTorchSimCodegen/launch.py triton_max_numel), so on the new base image the mm tiles that fill a 256-lane scratchpad compile in CI as they do on the development machine, whose Triton has carried the same edit since 2026-10-08. The base image tag follows this file, so CI rebuilds the base FROM the compiler's image at 17ec55a.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The compiler pin moves from a901c55 to 17ec55a, PyTorchSim-Triton-Backend's main after #42 (every fact about the IR read from the bindings; the triton-compile stage uses the new
drop_opsplugin pass) and #43 (setup/triton.shbuilds Triton withTRITON_MAX_TENSOR_NUMELandmaxTensorNumElementsat 1 << 26).The frontend already reads that limit from the Triton it compiles with (#332,
PyTorchSimCodegen/launch.pytriton_max_numel), so on the new base image the mm tiles that fill a 256-lane scratchpad compile in CI as they do on the development machine, whose Triton has carried the same edit since 2026-10-08. The base image tag follows the pin file, so this PR'sensure-basebuilds the base FROMghcr.io/psal-postech/pytorchsim-triton-backend:17ec55a..., which PyTorchSim-Triton-Backend published a few minutes ago.To verify here: the gate. On the 256x256 config test_gpt2 and test_mistral should now pick the tiles they picked locally (
BLOCK_N=4096 x BLOCK_K=1024for gpt2's addmm) instead of the capped ones.