Skip to content

The compiler pin moves to 17ec55a: Triton with its tensor numel limit raised - #334

Merged
student-Jungmin merged 1 commit into
pytorchsim-triton-backendfrom
ptb-pin-numel
Oct 10, 2026
Merged

student-Jungmin merged 1 commit into
pytorchsim-triton-backendfrom
ptb-pin-numel

Conversation

@student-Jungmin

Copy link
Copy Markdown
Collaborator

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_ops plugin pass) and #43 (setup/triton.sh builds Triton with TRITON_MAX_TENSOR_NUMEL and maxTensorNumElements at 1 << 26).

The frontend already reads that limit from the Triton it compiles with (#332, 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 the pin file, so this PR's ensure-base builds the base FROM ghcr.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=1024 for gpt2's addmm) instead of the capped ones.

…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.
@student-Jungmin
student-Jungmin merged commit 6da9ec0 into pytorchsim-triton-backend Oct 10, 2026
4 checks passed
@student-Jungmin
student-Jungmin deleted the ptb-pin-numel branch October 12, 2026 04:01
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