Skip to content

infra: [TRTLLM-6054][TRTLLM-5804] Fix two known NSPECT high vulnerability issues and reduce image size - #5434

Merged
ZhanruiSunCh merged 6 commits into
NVIDIA:mainfrom
ZhanruiSunCh:user/zhanruis/0624_fix_ngc_package_version
Jul 10, 2025
Merged

ZhanruiSunCh merged 6 commits into
NVIDIA:mainfrom
ZhanruiSunCh:user/zhanruis/0624_fix_ngc_package_version

Conversation

@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator

PR title

Please write the PR title by following template:

[JIRA ticket link/nvbug link/github issue link][fix/feat/doc/infra/...] <summary of this PR>

For example, assume I have a PR hope to support a new feature about cache manager of Jira TRTLLM-1000 ticket, it would be like

[TRTLLM-1000][feat] Support a new feature about cache manager

Description

Please explain the issue and the solution in short.

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 [--disable-fail-fast --skip-test --stage-list "A10-1, xxx" --gpu-type "A30, H100_PCIe" --add-multi-gpu-test --only-multi-gpu-test --disable-multi-gpu-test --post-merge --extra-stage "H100_PCIe-[Post-Merge]-1, xxx"]

Launch build/test pipelines. All previously running jobs will be killed.

--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-1, xxx" (OPTIONAL) : Only run the specified test stages. Examples: "A10-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.

--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. Will also run 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-[Post-Merge]-1, xxx" (OPTIONAL) : Run the ordinary L0 pre-merge pipeline and specified test stages. Examples: --extra-stage "H100_PCIe-[Post-Merge]-1, xxx".

For guidance on mapping tests to stage names, see docs/source/reference/ci-overview.md.

kill

kill

Kill all running builds associated with pull request.

skip

skip --comment COMMENT

Skip 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-pipeline

Reuse 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.

@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot run --stage-list "Build-Docker-Images"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #9685 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #9685 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #7120 (Partly Tested) completed with status: 'SUCCESS'

@ZhanruiSunCh
ZhanruiSunCh force-pushed the user/zhanruis/0624_fix_ngc_package_version branch from da0a385 to fa2d63b Compare June 25, 2025 09:18
@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot run --stage-list "Build-Docker-Images"

@ZhanruiSunCh ZhanruiSunCh changed the title infra: Fix two known NSPECT high vulnerability issues infra: Fix two known NSPECT high vulnerability issues and reduce image size Jun 25, 2025
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #9857 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #9857 [ run ] completed with state FAILURE
/LLM/main/L0_MergeRequest_PR pipeline #7271 (Partly Tested) completed with status: 'FAILURE'

@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot run --post-merge

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #9947 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #9947 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #7339 completed with status: 'FAILURE'

@ZhanruiSunCh
ZhanruiSunCh force-pushed the user/zhanruis/0624_fix_ngc_package_version branch from 82182b8 to b882f77 Compare June 26, 2025 08:07
@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot run --post-merge

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #10006 [ run ] triggered by Bot

@ZhanruiSunCh ZhanruiSunCh changed the title infra: Fix two known NSPECT high vulnerability issues and reduce image size infra: [TRTLLM-6054][TRTLLM-5804] Fix two known NSPECT high vulnerability issues and reduce image size Jun 26, 2025
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #10006 [ run ] completed with state FAILURE
/LLM/main/L0_MergeRequest_PR pipeline #7383 completed with status: 'FAILURE'

@ZhanruiSunCh
ZhanruiSunCh force-pushed the user/zhanruis/0624_fix_ngc_package_version branch from b882f77 to 5f161ca Compare July 3, 2025 03:14
@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot run --stage-list "Build-Docker-Images"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #10743 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #10743 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #7934 (Partly Tested) completed with status: 'SUCCESS'

@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot run --post-merge

Comment thread docker/Dockerfile.multi Resolved
Comment thread docker/Dockerfile.multi Resolved
Comment thread docker/Dockerfile.multi Resolved
Comment thread docker/Dockerfile.multi Resolved
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #10793 [ run ] triggered by Bot

@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot kill

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #10795 [ kill ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #10793 [ run ] completed with state ABORTED

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #11318 [ run ] completed with state FAILURE
/LLM/main/L0_MergeRequest_PR pipeline #8371 completed with status: 'FAILURE'

@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #11383 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #11383 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #8419 completed with status: 'FAILURE'

@ZhanruiSunCh
ZhanruiSunCh force-pushed the user/zhanruis/0624_fix_ngc_package_version branch from ff907ea to 8cbb97c Compare July 10, 2025 06:23
@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot run --stage-list "Build-Docker-Images"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #11511 [ run ] triggered by Bot

Signed-off-by: ZhanruiSunCh <[email protected]>
@ZhanruiSunCh

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #11535 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #11511 [ run ] completed with state ABORTED

@ZhanruiSunCh
ZhanruiSunCh enabled auto-merge (squash) July 10, 2025 10:33
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #11535 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #8537 completed with status: 'SUCCESS'
Pipeline passed with automatic retried tests. Check the rerun report for details.

@ZhanruiSunCh
ZhanruiSunCh merged commit 67a39db into NVIDIA:main Jul 10, 2025
zhou-yuxin pushed a commit to zhou-yuxin/TensorRT-LLM that referenced this pull request Jul 15, 2025
…lity issues and reduce image size (NVIDIA#5434)

Signed-off-by: ZhanruiSunCh <[email protected]>
Signed-off-by: Yuxin <[email protected]>
yunruis added a commit to yunruis/TensorRT-LLM that referenced this pull request Oct 22, 2026
…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]>
yunruis added a commit to yunruis/TensorRT-LLM that referenced this pull request Oct 22, 2026
…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]>
yunruis added a commit to yunruis/TensorRT-LLM that referenced this pull request Oct 23, 2026
…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]>
yunruis added a commit to yunruis/TensorRT-LLM that referenced this pull request Oct 23, 2026
…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]>
yunruis added a commit to yunruis/TensorRT-LLM that referenced this pull request Oct 24, 2026
…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]>
yunruis added a commit to yunruis/TensorRT-LLM that referenced this pull request Oct 24, 2026
…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]>
farazkh80 added a commit to farazkh80/TensorRT-LLM that referenced this pull request Oct 27, 2026
… aa709061

Replace the git-source nightly pin with the 0.7.2 release and advance the
flashinfer-prims-ts vendor lock to yuxianq/trtllm-prims-ts-dev-20261012 at
aa709061, which carries FlashInfer NVIDIA#5351 (QToken-KvBlock-Sparse kernel
optimizations) and NVIDIA#6529 (CuTe DSL kernel disk cache). The vendor patch
gains 0.7.2 compatibility hunks because the wheel's metadata csrc predates
NVIDIA#5351: 13-argument metadata launch, head-aware locators and query-major
memberships disabled, two package-escaping imports redirected to the
wheel, and the NVIDIA#5434 fix passing output_quant_args positionally so
persisted FFI MLA kernels load from the disk cache.

Signed-off-by: Faraz Khoubsirat <[email protected]>
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.

4 participants