Skip to content

[CI] Follow PTB's artifact names and stage tags (PTB main bb37976) - #330

Merged
student-Jungmin merged 1 commit into
pytorchsim-triton-backendfrom
ptb-artifact-names
Oct 9, 2026
Merged

student-Jungmin merged 1 commit into
pytorchsim-triton-backendfrom
ptb-artifact-names

Conversation

@student-Jungmin

Copy link
Copy Markdown
Collaborator

Follows PTB main bb37976 (PTB #19, #22, #34, #35, #36): the compiler's staged IR was renamed and the triton-shared stage is gone.

before now
01-ttir.mlir 01-ttir.mlir
03-ttshared.mlir 07-regularized.mlir
04-transformed.mlir 08-transformed.mlir
05-custom.mlir 09-custom.mlir
05-lowered.mlir 10-lowered.mlir
06-.elf 11-.elf
  • scripts/ci/triton_route_sweep.py: STAGES reads the new names (with the old table every kernel read as stopping in triton-compile); the compiler_stage bucket also matches [transform] / [lower] / [binary], keeping [stageN].
  • CLAUDE.md: the new names, ELF included.
  • kernel_spec.py, clear_codegen_cache.sh: "the linalg lowering" for "triton-shared", which PTB folded into TorchsimExt.

compiler_bridge.py's invocation and kernel.json artifact lookups are unchanged and need nothing.

Checked (PTB bb37976, extension rebuilt)

run_one from the sweep:

  • test_add: pass, reached "2 torchsim-compile: lower"
  • test_sort: compiler_stage, "1 triton-compile: TTGIR -> linalg"
  • test_mlp, test_indirect_access, a ConvTranspose2d probe: compiler_stage, "2 torchsim-compile: lower"

PTB #19, #22, #34, #35 and #36 renamed the compiler's staged IR and dropped
the triton-shared stage: 01-ttir, 07-regularized (TTGIR -> linalg, end of
triton-compile), 08-transformed, 09-custom, 10-lowered, 11-<kernel>.elf, and
stage.log tags [transform] / [lower] / [binary] instead of [stageN].

- triton_route_sweep.py: STAGES reads the new names, so "how far it got" is
  right again (with the old table no 03/04/05 file exists and every kernel
  read as stopping in triton-compile); the compiler_stage bucket also
  matches the new tags, keeping [stageN].
- CLAUDE.md lists the new names; kernel_spec.py and clear_codegen_cache.sh
  say "the linalg lowering" where they said triton-shared, which PTB folded
  into TorchsimExt.

Checked against PTB bb37976 (extension rebuilt): run_one on test_add passes
at "2 torchsim-compile: lower"; test_sort is compiler_stage at
"1 triton-compile: TTGIR -> linalg"; test_mlp, test_indirect_access and a
conv probe with a ConvTranspose2d are compiler_stage at "2 torchsim-compile:
lower".
student-Jungmin added a commit that referenced this pull request Oct 9, 2026
…ackend

docker-image.yml triggered on pull requests into master and develop only,
so no PR into the branch PyTorchSim-Triton-Backend pins has ever been
gated: #329, #330 and #331 show no checks. The branch everyone shares
joins the list.
@student-Jungmin
student-Jungmin merged commit 03dfbe4 into pytorchsim-triton-backend Oct 9, 2026
@student-Jungmin
student-Jungmin deleted the ptb-artifact-names branch October 9, 2026 15:23
student-Jungmin added a commit that referenced this pull request Oct 9, 2026
…ackend

docker-image.yml triggered on pull requests into master and develop only,
so no PR into the branch PyTorchSim-Triton-Backend pins has ever been
gated: #329, #330 and #331 show no checks. The branch everyone shares
joins the list.
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