Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ce9a396
fix: record TRT MLA precision and allow native MXFP4 padding
simone-chen Sep 17, 2026
b73705b
fix: refresh TRT profiles and recover all 263 Gym predictions
simone-chen Sep 18, 2026
3830b5a
fix: align GPT-OSS MoE bias and native autotuning
simone-chen Sep 18, 2026
a85b9e1
fix: refresh tuned GPT-OSS profiles and verify Gym TPOT
simone-chen Sep 18, 2026
9076236
docs: verify GPT-OSS serving activation precision mismatch
simone-chen Sep 18, 2026
6b79d38
fix: align TRT W4A8 data and replay request sampling
simone-chen Sep 18, 2026
5afc9d6
Merge main and preserve replay sampler documentation
simone-chen Sep 18, 2026
1c3d30b
ci: fetch numerical baseline outside squashed main history
simone-chen Sep 18, 2026
e36bfe5
fix: align collection provenance and validate NumPy seeds
simone-chen Sep 18, 2026
8bcc5d1
docs: record matched TRT residual diagnosis
simone-chen Sep 18, 2026
0c25eb9
docs: trace GPT-OSS eager execution gap
simone-chen Sep 18, 2026
cee6fdd
docs: clarify Qwen scheduling evidence scope
simone-chen Sep 18, 2026
7fc50d0
chore: merge main and reuse baseline fetch helper
simone-chen Sep 18, 2026
7d0bcac
fix: bound length sampler to direct synthetic replay
simone-chen Sep 18, 2026
8ce3ef3
fix: reject length sampler at workload driver boundary
simone-chen Sep 18, 2026
3bcbb43
chore: merge SGLang profile and CI fixes from main
simone-chen Sep 18, 2026
5633a8f
fix: validate sampler before selecting replay execution mode
simone-chen Sep 18, 2026
a70df0a
fix: encode unavailable MoE power and align profile integrity checks
simone-chen Sep 18, 2026
b2193a4
Merge main package consolidation into TRT profile refresh
simone-chen Sep 18, 2026
5518ec4
test: verify independent seeded replays
simone-chen Sep 18, 2026
3c7edb1
test: cover TRT collector boundaries and clarify evidence
simone-chen Sep 18, 2026
f50d238
Merge main documentation updates into TRT profile refresh
simone-chen Sep 18, 2026
f26a1bc
Merge context-limit fix into TRT profile refresh
simone-chen Sep 18, 2026
f8c47a9
Merge replay correctness fixes into TRT profile refresh
simone-chen Sep 18, 2026
076ca3a
fix: reject MoE collection when all autotuning attempts fail
simone-chen Sep 18, 2026
8fa73a0
Merge FPM DCP identity fix into TRT profile refresh
simone-chen Sep 18, 2026
b7818d9
Merge DeepSeek V4.1 support into TRT profile refresh
simone-chen Sep 19, 2026
635372e
docs: clarify non-DP readmission evidence scope
simone-chen Sep 19, 2026
f14fedd
Merge current replay and Sweeper changes into TRT profile refresh
simone-chen Sep 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions python/aisimulate/collector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ capabilities.py — generation-time capability/denylist f
The plan is one equation: cases = dedup(base grid ∪ model shapes), then
intersected with hardware capability floors and minus the hang denylist.

TRT-LLM MLA precision and GPT-OSS TP profile collection evidence is recorded
in [the September 17 campaign](trtllm/gym-profiles-20260917.md).

## Whole-forward FPM campaign

Use the dedicated `python3 -m collector.fpm_forward` entry point for vLLM
Expand Down
4 changes: 2 additions & 2 deletions python/aisimulate/collector/op_backend_facts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ ops:
- {framework: "trtllm", version: "1.0.0", system: "l40s", op_name: "mla_context", kv_cache_dtype: "bfloat16", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.0.0", system: "l40s", op_name: "mla_context", kv_cache_dtype: "fp8", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "b200_sxm", op_name: "mla_context", kv_cache_dtype: "bfloat16", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "b200_sxm", op_name: "mla_context", kv_cache_dtype: "fp8", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "b200_sxm", op_name: "mla_context", kv_cache_dtype: "fp8", mla_dtype: "fp8", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "b300_sxm", op_name: "mla_context", kv_cache_dtype: "bfloat16", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "b300_sxm", op_name: "mla_context", kv_cache_dtype: "fp8", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "gb200", op_name: "mla_context", kv_cache_dtype: "bfloat16", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
Expand All @@ -175,7 +175,7 @@ ops:
- {framework: "trtllm", version: "1.3.0rc20", system: "h100_sxm", op_name: "mla_context", kv_cache_dtype: "bfloat16", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "h100_sxm", op_name: "mla_context", kv_cache_dtype: "fp8", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "h200_sxm", op_name: "mla_context", kv_cache_dtype: "bfloat16", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "h200_sxm", op_name: "mla_context", kv_cache_dtype: "fp8", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "h200_sxm", op_name: "mla_context", kv_cache_dtype: "fp8", mla_dtype: "fp8", backends: ["trtllm_internal"], kernel_sources: ["default"]}
Comment thread
simone-chen marked this conversation as resolved.
Resolved
- {framework: "trtllm", version: "1.3.0rc20", system: "rtx_pro_6000_server", op_name: "mla_context", kv_cache_dtype: "bfloat16", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- {framework: "trtllm", version: "1.3.0rc20", system: "rtx_pro_6000_server", op_name: "mla_context", kv_cache_dtype: "fp8", mla_dtype: "bfloat16", backends: ["trtllm_internal"], kernel_sources: ["default"]}
- op_file: custom_allreduce_perf
Expand Down
8 changes: 7 additions & 1 deletion python/aisimulate/collector/trtllm/collect_mla.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,13 @@ def kernel_func():
log_perf(
item_list=[
{
"mla_dtype": "bfloat16",
# TRT-LLM quantizes context Q/K/V internally for FP8 KV on
# SM90/100/103/120. The BF16 Python inputs do not describe
# the FMHA compute precision (attentionOp.cpp:1228-1231 at
# c25c23f71786bad54d192893d696ce8043426eca / v1.3.0rc20).
"mla_dtype": (
dtype_str if is_context_phase and get_sm_version() in (90, 100, 103, 120) else "bfloat16"
),
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
"kv_cache_dtype": dtype_str,
"num_heads": num_heads,
"batch_size": len(context_sequence_lengths),
Expand Down
8 changes: 7 additions & 1 deletion python/aisimulate/collector/trtllm/collect_moe.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,13 @@ def run_moe_torch(
"w4afp8": 4,
"nvfp4": 4,
}[moe_type]
if (inter_size // moe_tp_size) % (256 // _weight_bits) != 0:
# Blackwell MXFP4 uses TRTLLMGenFusedMoE, whose weight loader pads
# before TP sharding. Its logical intermediate size need not satisfy
# the CUTLASS plugin's physical-weight alignment check below.
# TensorRT-LLM v1.3.0rc20, c25c23f71786bad54d192893d696ce8043426eca:
# _torch/modules/fused_moe/quantization.py:5634-5659,5705-5735.
native_mxfp4_padding = moe_type in _MXFP4_MOE_TYPES and 100 <= sm_version < 120
if not native_mxfp4_padding and (inter_size // moe_tp_size) % (256 // _weight_bits) != 0:
raise ValueError(
f"TRT-LLM fused MoE requires the TP-sharded intermediate size to be a multiple "
f"of 256/weight_bits = {256 // _weight_bits} for {moe_type} (TLLM_CHECK_WITH_INFO "
Expand Down
Loading
Loading