Repository navigation
[None][chore] Disable add special tokens for Llama3.3 70B - #6482
Conversation
📝 WalkthroughWalkthroughAccuracy reference YAML files for GSM8K and MMLU were updated to add or revise quantization configuration keys and accuracy values for specific Llama models. Additionally, test methods for Llama-3.3-70B-Instruct now explicitly pass Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
/bot run |
|
PR_Github #13545 [ run ] triggered by Bot |
|
PR_Github #13545 [ run ] completed with state |
a5a85bc to
58cd28e
Compare
|
/bot run |
|
PR_Github #13652 [ run ] triggered by Bot |
|
PR_Github #13652 [ run ] completed with state |
|
/bot run |
|
PR_Github #13747 [ run ] triggered by Bot |
Signed-off-by: Chenfei Zhang <[email protected]>
58cd28e to
95b2e15
Compare
|
/bot run |
|
PR_Github #13762 [ run ] triggered by Bot |
|
PR_Github #13747 [ run ] completed with state |
|
PR_Github #13762 [ run ] completed with state |
Signed-off-by: Chenfei Zhang <[email protected]> Signed-off-by: Lanyu Liao <[email protected]>
Signed-off-by: Chenfei Zhang <[email protected]>
…rse MLA FMHA Pin flashinfer-prims-ts to flashinfer-ai/flashinfer main 3bf6d3202. It carries the merged native two-source sparse MLA (flashinfer-ai/flashinfer#5434), including the group-major fused output and the 2CTA short-list schedule that flashinfer-ai/flashinfer#6345 had stacked on the pre-merge branch, plus the PrimTS changes main took since ae312f7cc (NVIDIA#6529 compile cache and FP8-to-BF16 decode, NVIDIA#6482, NVIDIA#5351, NVIDIA#6089, NVIDIA#6014). The compatibility patch is regenerated for the new tree: the flashinfer-python 0.6.18 API alias, stripped trace templates, absolute imports of the flashinfer cute_dsl/utils/jit helpers (now also jit.cute_dsl_core and cute_dsl.availability), relative kernel imports in the sparse plan resolver, and the module-scope helpers_paged import for CuTe DSL 4.8 that upstream TRT-LLM already carried. The merged kernel API takes the two index lists and their live lengths directly and combines the Q and KV descales into the softmax and output scales, so the adapter drops the SparseMLAPreparedMetadata route packing (the Triton kernel, routes, execution lengths and scale rows) and binds the sparse_attn_predict index buffer plus two int32 length buffers per plan. The fused group-major output contract is unchanged. The adapter unit test drives the wrapper through the same direct-index API. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
…ai/flashinfer#5434 The vendored flashinfer-prims-ts tree moves to the head of flashinfer-ai/ flashinfer#5434 (refs/pull/5434/head, 6fdd402b, merged into FlashInfer main on 2026-10-20 as e67e925f), the PR that introduced the native two-source sparse MLA this backend uses. Relative to TensorRT-LLM main's pin (ae312f7c) the tree gains that PR plus flashinfer NVIDIA#6014 and NVIDIA#6089; relative to the intermediate revision of this PR that pinned main @ 3bf6d3202 it deliberately leaves out NVIDIA#6529 (on-disk kernel compile cache, FP8-to-BF16 decode), NVIDIA#6482 (ragged-Q tensor-map guard on the opt-in dense context path) and NVIDIA#5351 (QToken-KvBlock sparse tuning, no TensorRT-LLM caller): the vendored source stays the branch of the PR being promoted, and a follow-up re-pin to main picks those up. The compatibility patch is regenerated for this tree (7 files, 30 hunks: the flashinfer-python 0.6.18 import adaptations only). The positional output_quant_args hunk is dropped, since it only served kernels reloaded from the compile cache that this tree does not have, and so is the unit test of that reload path. The sparse-MLA warm-up's docstring now says that a kernel variant's first plan compiles it (tens of seconds) rather than loading it from a cache. Verified on B200 with the re-vendored tree: test_prims_ts_vendored_imports.py + test_fmha_registry.py 13 passed; test_prims_ts_sparse_mla_fmha.py 36 passed (cold compile 20 min 48 s); DeepSeek-V4-Flash GSM8K (TP4/EP4, attention DP) 95.11 with PrimsTSSparseMlaFmha serving all 43 layers on every rank (reference 95.11). The remaining suites are quoted in the PR description. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
…cal branch with flashinfer main merged The vendored flashinfer-prims-ts tree moves from yuxianq/flashinfer trtllm-prims-ts-dev-20261012 @ ae312f7c (TensorRT-LLM main's pin) to yunruis/flashinfer trtllm-prims-ts-dev-20261022 @ 10fcf479: that branch is the canonical branch's current tip (ae3851ab, which adds the Blackwell ragged-Q tensor-map fixes) with flashinfer-ai/flashinfer main @ 3bf6d3202 merged in (no conflicts). The merge brings the native two-source sparse MLA this backend uses (flashinfer NVIDIA#5434), the attention kernel compile cache (NVIDIA#6529), and NVIDIA#6482, NVIDIA#5351, NVIDIA#6089 and NVIDIA#6014; the resulting prims_ts tree is byte-identical to main @ 3bf6d3202 (the dev fixes are the same change as NVIDIA#6482). The compatibility patch is the one reviewed with the earlier main pin (7 files, 33 hunks: the flashinfer-python 0.6.18 import adaptations plus the positional output_quant_args launch that kernels reloaded from the compile cache need, flashinfer NVIDIA#6843). Nothing in tensorrt_llm/ changes. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
…cal branch plus the flashinfer main PrimTS commits The vendored flashinfer-prims-ts tree moves from yuxianq/flashinfer trtllm-prims-ts-dev-20261012 @ ae312f7c (TensorRT-LLM main's pin) to yunruis/flashinfer trtllm-prims-ts-dev-20261022 @ f924fd45: a linear branch on the canonical branch's current tip (ae3851ab, which adds the Blackwell ragged-Q tensor-map fixes) with the six flashinfer-ai/flashinfer main commits that touch flashinfer/attention/prims_ts since ae312f7c cherry-picked on top, in order and without conflicts: NVIDIA#6014, NVIDIA#6089, NVIDIA#5351, NVIDIA#6482, NVIDIA#6529 (attention kernel compile cache, FP8-to-BF16 decode) and NVIDIA#5434 (the native two-source sparse MLA this backend uses). The resulting prims_ts tree is byte-identical to flashinfer main @ 3bf6d3202. The compatibility patch is the one reviewed with the earlier main pin (7 files, 33 hunks: the flashinfer-python 0.6.18 import adaptations plus the positional output_quant_args launch that kernels reloaded from the compile cache need, flashinfer NVIDIA#6843). Nothing in tensorrt_llm/ changes. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
…rse MLA FMHA Pin flashinfer-prims-ts to flashinfer-ai/flashinfer main 3bf6d3202. It carries the merged native two-source sparse MLA (flashinfer-ai/flashinfer#5434), including the group-major fused output and the 2CTA short-list schedule that flashinfer-ai/flashinfer#6345 had stacked on the pre-merge branch, plus the PrimTS changes main took since ae312f7cc (NVIDIA#6529 compile cache and FP8-to-BF16 decode, NVIDIA#6482, NVIDIA#5351, NVIDIA#6089, NVIDIA#6014). The compatibility patch is regenerated for the new tree: the flashinfer-python 0.6.18 API alias, stripped trace templates, absolute imports of the flashinfer cute_dsl/utils/jit helpers (now also jit.cute_dsl_core and cute_dsl.availability), relative kernel imports in the sparse plan resolver, and the module-scope helpers_paged import for CuTe DSL 4.8 that upstream TRT-LLM already carried. The merged kernel API takes the two index lists and their live lengths directly and combines the Q and KV descales into the softmax and output scales, so the adapter drops the SparseMLAPreparedMetadata route packing (the Triton kernel, routes, execution lengths and scale rows) and binds the sparse_attn_predict index buffer plus two int32 length buffers per plan. The fused group-major output contract is unchanged. The adapter unit test drives the wrapper through the same direct-index API. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
…cal branch plus the flashinfer main PrimTS commits The vendored flashinfer-prims-ts tree moves from yuxianq/flashinfer trtllm-prims-ts-dev-20261012 @ ae312f7c (TensorRT-LLM main's pin) to yunruis/flashinfer trtllm-prims-ts-dev-20261022 @ f924fd45: a linear branch on the canonical branch's current tip (ae3851ab, which adds the Blackwell ragged-Q tensor-map fixes) with the six flashinfer-ai/flashinfer main commits that touch flashinfer/attention/prims_ts since ae312f7c cherry-picked on top, in order and without conflicts: NVIDIA#6014, NVIDIA#6089, NVIDIA#5351, NVIDIA#6482, NVIDIA#6529 (attention kernel compile cache, FP8-to-BF16 decode) and NVIDIA#5434 (the native two-source sparse MLA this backend uses). The resulting prims_ts tree is byte-identical to flashinfer main @ 3bf6d3202. The compatibility patch is the one reviewed with the earlier main pin (7 files, 33 hunks: the flashinfer-python 0.6.18 import adaptations plus the positional output_quant_args launch that kernels reloaded from the compile cache need, flashinfer NVIDIA#6843). Nothing in tensorrt_llm/ changes. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
…ted canonical tip TensorRT-LLM main (NVIDIA#20224, promoted by NVIDIA#20870) moved the flashinfer-prims-ts canonical pin from ae3851ab to 0e0761ef (the NVIDIA#6014 SM103 block-sparse/sage tuning). The linear source branch is rebased onto that tip as yunruis/flashinfer trtllm-prims-ts-dev-20261023 @ aa709061: the duplicate NVIDIA#6014 cherry-pick drops out and the remaining five flashinfer main PrimTS commits (NVIDIA#6089, NVIDIA#5351, NVIDIA#6482, NVIDIA#6529, NVIDIA#5434) replay without conflicts. The vendored tree, patch and digests are byte-identical to the previous pin (f924fd45); only the lock's branch and commit change. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
…rse MLA FMHA Pin flashinfer-prims-ts to flashinfer-ai/flashinfer main 3bf6d3202. It carries the merged native two-source sparse MLA (flashinfer-ai/flashinfer#5434), including the group-major fused output and the 2CTA short-list schedule that flashinfer-ai/flashinfer#6345 had stacked on the pre-merge branch, plus the PrimTS changes main took since ae312f7cc (NVIDIA#6529 compile cache and FP8-to-BF16 decode, NVIDIA#6482, NVIDIA#5351, NVIDIA#6089, NVIDIA#6014). The compatibility patch is regenerated for the new tree: the flashinfer-python 0.6.18 API alias, stripped trace templates, absolute imports of the flashinfer cute_dsl/utils/jit helpers (now also jit.cute_dsl_core and cute_dsl.availability), relative kernel imports in the sparse plan resolver, and the module-scope helpers_paged import for CuTe DSL 4.8 that upstream TRT-LLM already carried. The merged kernel API takes the two index lists and their live lengths directly and combines the Q and KV descales into the softmax and output scales, so the adapter drops the SparseMLAPreparedMetadata route packing (the Triton kernel, routes, execution lengths and scale rows) and binds the sparse_attn_predict index buffer plus two int32 length buffers per plan. The fused group-major output contract is unchanged. The adapter unit test drives the wrapper through the same direct-index API. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
…cal branch plus the flashinfer main PrimTS commits The vendored flashinfer-prims-ts tree moves from yuxianq/flashinfer trtllm-prims-ts-dev-20261012 @ ae312f7c (TensorRT-LLM main's pin) to yunruis/flashinfer trtllm-prims-ts-dev-20261022 @ f924fd45: a linear branch on the canonical branch's current tip (ae3851ab, which adds the Blackwell ragged-Q tensor-map fixes) with the six flashinfer-ai/flashinfer main commits that touch flashinfer/attention/prims_ts since ae312f7c cherry-picked on top, in order and without conflicts: NVIDIA#6014, NVIDIA#6089, NVIDIA#5351, NVIDIA#6482, NVIDIA#6529 (attention kernel compile cache, FP8-to-BF16 decode) and NVIDIA#5434 (the native two-source sparse MLA this backend uses). The resulting prims_ts tree is byte-identical to flashinfer main @ 3bf6d3202. The compatibility patch is the one reviewed with the earlier main pin (7 files, 33 hunks: the flashinfer-python 0.6.18 import adaptations plus the positional output_quant_args launch that kernels reloaded from the compile cache need, flashinfer NVIDIA#6843). Nothing in tensorrt_llm/ changes. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
…ted canonical tip TensorRT-LLM main (NVIDIA#20224, promoted by NVIDIA#20870) moved the flashinfer-prims-ts canonical pin from ae3851ab to 0e0761ef (the NVIDIA#6014 SM103 block-sparse/sage tuning). The linear source branch is rebased onto that tip as yunruis/flashinfer trtllm-prims-ts-dev-20261023 @ aa709061: the duplicate NVIDIA#6014 cherry-pick drops out and the remaining five flashinfer main PrimTS commits (NVIDIA#6089, NVIDIA#5351, NVIDIA#6482, NVIDIA#6529, NVIDIA#5434) replay without conflicts. The vendored tree, patch and digests are byte-identical to the previous pin (f924fd45); only the lock's branch and commit change. AI-assisted. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: yunruis <[email protected]>
Summary by CodeRabbit
Summary by CodeRabbit
Bug Fixes
Tests
Description
Test Coverage
GitHub Bot Help
/bot [-h] ['run', 'kill', 'skip', 'reuse-pipeline'] ...Provide a user friendly way for developers to interact with a Jenkins server.
Run
/bot [-h|--help]to print this help message.See details below for each supported subcommand.
Details
run [--reuse-test (optional)pipeline-id --disable-fail-fast --skip-test --stage-list "A10-PyTorch-1, xxx" --gpu-type "A30, H100_PCIe" --test-backend "pytorch, cpp" --add-multi-gpu-test --only-multi-gpu-test --disable-multi-gpu-test --post-merge --extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx" --detailed-log --debug(experimental)]Launch build/test pipelines. All previously running jobs will be killed.
--reuse-test (optional)pipeline-id(OPTIONAL) : Allow the new pipeline to reuse build artifacts and skip successful test stages from a specified pipeline or the last pipeline if no pipeline-id is indicated. If the Git commit ID has changed, this option will be always ignored. The DEFAULT behavior of the bot is to reuse build artifacts and successful test results from the last pipeline.--disable-reuse-test(OPTIONAL) : Explicitly prevent the pipeline from reusing build artifacts and skipping successful test stages from a previous pipeline. Ensure that all builds and tests are run regardless of previous successes.--disable-fail-fast(OPTIONAL) : Disable fail fast on build/tests/infra failures.--skip-test(OPTIONAL) : Skip all test stages, but still run build stages, package stages and sanity check stages. Note: Does NOT update GitHub check status.--stage-list "A10-PyTorch-1, xxx"(OPTIONAL) : Only run the specified test stages. Examples: "A10-PyTorch-1, xxx". Note: Does NOT update GitHub check status.--gpu-type "A30, H100_PCIe"(OPTIONAL) : Only run the test stages on the specified GPU types. Examples: "A30, H100_PCIe". Note: Does NOT update GitHub check status.--test-backend "pytorch, cpp"(OPTIONAL) : Skip test stages which don't match the specified backends. Only support [pytorch, cpp, tensorrt, triton]. Examples: "pytorch, cpp" (does not run test stages with tensorrt or triton backend). Note: Does NOT update GitHub pipeline status.--only-multi-gpu-test(OPTIONAL) : Only run the multi-GPU tests. Note: Does NOT update GitHub check status.--disable-multi-gpu-test(OPTIONAL) : Disable the multi-GPU tests. Note: Does NOT update GitHub check status.--add-multi-gpu-test(OPTIONAL) : Force run the multi-GPU tests in addition to running L0 pre-merge pipeline.--post-merge(OPTIONAL) : Run the L0 post-merge pipeline instead of the ordinary L0 pre-merge pipeline.--extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx"(OPTIONAL) : Run the ordinary L0 pre-merge pipeline and specified test stages. Examples: --extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx".--detailed-log(OPTIONAL) : Enable flushing out all logs to the Jenkins console. This will significantly increase the log volume and may slow down the job.--debug(OPTIONAL) : Experimental feature. Enable access to the CI container for debugging purpose. Note: Specify exactly one stage in thestage-listparameter to access the appropriate container environment. Note: Does NOT update GitHub check status.For guidance on mapping tests to stage names, see
docs/source/reference/ci-overview.mdand the
scripts/test_to_stage_mapping.pyhelper.kill
killKill all running builds associated with pull request.
skip
skip --comment COMMENTSkip testing for latest commit on pull request.
--comment "Reason for skipping build/test"is required. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break.reuse-pipeline
reuse-pipelineReuse a previous pipeline to validate current commit. This action will also kill all currently running builds associated with the pull request. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break.