Skip to content

[CI] The bundle carries validation/qwen3_8b: Qwen3-8B's decoder layer and each of its ops - #409

Merged
YWHyuk merged 1 commit into
pytorchsim-triton-backendfrom
ci/bundle-qwen3-8b-dense
Oct 22, 2026
Merged

YWHyuk merged 1 commit into
pytorchsim-triton-backendfrom
ci/bundle-qwen3-8b-dense

Conversation

@student-Jungmin

Copy link
Copy Markdown
Collaborator

The compiler's validation/qwen3_8b suite (PTB 66b6b45) measures Qwen3-8B's decoder layer and each of its ops on v6e. Its CI report has shown 0 / 0 workloads ("measured, not in the bundle: 116"), because the bundle carried no Qwen3-8B kernels and the pin predated the suite. #408 moved the pin to PTB 2b5cfe3, which has the suite.

Change

scripts/ci/bundle.py gains a qwen3_8b suite, written as tpu-perf-archive harness/qwen3_8b_layer_v1.py writes the model:

  • Layer. The dense layer: Qwen3-30B-A3B's attention half, cache layout and decode, then one MLP whose gate and up are one weight.
  • Ops. Each piece alone:
    • six projections as matmuls;
    • rmsnorm, q/k_norm, rope_q/k, residual and silu_mul;
    • attention as SDPA, as the attention suite builds it.
  • Rows. Its rows under the compiler's CI cap: 116 (12 layers, 104 ops).
  • silu_mul. It splits its input at the input's own half instead of Qwen3-30B-A3B's FF. The 30B suite's kernels are unchanged by this.

The workflow builds qwen3_8b in timing mode beside layer, so its projections are picked by TOGSim cycles and their picks are folded into the record.

Checked locally

  • workloads(["qwen3_8b"]) yields 116 rows.
  • All 116 build with a local compiler at PTB main. Each captures its kernels with no extern call and no unpicked template.

… and each of its ops

The compiler's qwen3_8b suite measures Qwen3-8B on v6e as tpu-perf-archive's harness/qwen3_8b_layer_v1.py
writes it: the dense layer (attention as Qwen3-30B-A3B's, then the MLP with its gate and up one weight) and each
piece alone, its six projections as matmuls and its attention as SDPA, as the attention suite's. Its rows under
the compiler's CI cap are built in timing mode beside the layer suite's, and silu_mul takes its half from its
input instead of Qwen3-30B-A3B's FF.

It reads the suite's table and cap from the pinned compiler, which has them since PTB 66b6b45 (the pin is
2b5cfe3).
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.

2 participants