Repository navigation
[Driver] Kernel object format 8 and compiler pin PTB 522042a - #443
Merged
Merged
Conversation
…ed record files PSAL-POSTECH/PyTorchSim-Triton-Backend#340 (merged as 522042a) drops the hidden output from the manifest (its file, programs and row layout) and adds the table's hash. The launcher calls the compiler's runtime/spike.launch and reads runtime/runtime_attribute/ as before, so nothing else moves. The compiler pin moves to 522042a in the same commit, since neither side reads the other's old format.
This was referenced Oct 24, 2026
This was referenced Oct 24, 2026
student-Jungmin
added a commit
that referenced
this pull request
Oct 24, 2026
…, so kernels reading runtime attributes time The bundle job builds layer and qwen3_8b with TORCHSIM_TIMING_MODE=1 inside a container started with TORCHSIM_FUNCTIONAL_MODE=0. Since the kernel object streams runtime attributes as record files (#418, #443), a kernel that reads them (the grouped GEMM's block tables, RoPE's, a gather's) is timed only on the records its functional run leaves, and timing.attribute_dir refuses the launch otherwise ("runtime_attribute not found ... run with TORCHSIM_FUNCTIONAL_MODE=1"); without Spike the rows would also collapse to one address. The job has not left a bundle since e27b64a (2026-10-22). Locally, the layer suite built that way left 47 of 96 workloads, the 49 others each refused so. That run is now functional and timed; gemm (no attributes) and vector/attention (untimed) stay as they were. The job's timeout goes 240 -> 360 min, as every layer and qwen3_8b kernel now also runs on Spike. This commit and the pin move before it go in together: on the old pin the dispatch's sort (T = 2048, 4096) is refused at lower, which stops the layer suite the same way.
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.
Fixes #442.
PSAL-POSTECH/PyTorchSim-Triton-Backend#340 (merged as 522042a) streams runtime attribute records through a C function the wrapper links (
torchsim_runtime_attribute_write) instead of a preallocated hidden output. The kernel object's manifest loses the hidden output (file, programs, row layout), gains the attribute table's hash, and moves to format 8.This PR:
pytorchsim/contract.py);third_party/pytorchsim-triton-backend.json).Both changes are in one commit, since neither side reads the other's old format. The launcher still calls the compiler's
runtime/spike.launchand readsruntime/runtime_attribute/as before.The
pts-pin-bumpbot will open its own pin-only PR for 522042a; that one lacks the format change and is superseded by this PR.🤖 Generated with Claude Code
https://claude.ai/code/session_01VwsFrG5HnVhsk4PphCScaB