Skip to content

[TRTLLM-13409][feat] hard-kill all ranks when one rank's executor loop crashes - #16592

Merged
JunyiXu-nv merged 1 commit into
NVIDIA:mainfrom
JunyiXu-nv:dev-junyix-feat-rank-crash-hard-kill
Aug 11, 2026
Merged

[TRTLLM-13409][feat] hard-kill all ranks when one rank's executor loop crashes#16592
JunyiXu-nv merged 1 commit into
NVIDIA:mainfrom
JunyiXu-nv:dev-junyix-feat-rank-crash-hard-kill

Conversation

@JunyiXu-nv

@JunyiXu-nv JunyiXu-nv commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Dev Engineer Review

  • Implemented multi-rank “rank crash hard-kill” escalation with a configurable grace period (TLLM_RANK_CRASH_HARD_KILL_GRACE), where invalid/unset values default to 10s and negative values disable world hard-kill.
  • Ensured escalation logic is best-effort and non-throwing (does not raise if kill propagation fails/cancellation occurs), preserving the original executor exception for debugging.
  • Added a cancellable RankCrashKillWatchdog and integrated it into PyExecutor._event_loop_wrapper so the watchdog is armed before executor cleanup and the hard-kill is attempted afterward, preserving the original fire deadline.
  • Added unit coverage for single-rank exemption, grace timing/delay, disabling/invalid env handling, non-raising behavior, watchdog cancel behavior, deadline preservation, and crash vs clean-exit wiring.
  • No configuration or test-list files were changed.

QA Engineer Review

Test changes (unit)

  • tests/unittest/_torch/executor/test_hang_detector_kill.py
    • Added/extended coverage for:
      • test_rank_crash_kill_single_rank_is_noop
      • test_rank_crash_kill_fires_for_multi_rank
      • test_rank_crash_kill_sleeps_grace_before_kill
      • test_rank_crash_kill_disabled_by_negative_grace
      • test_rank_crash_kill_invalid_grace_uses_default
      • test_rank_crash_kill_never_raises
      • test_watchdog_kills_while_caller_blocks
      • test_watchdog_not_armed_for_single_rank
      • test_watchdog_not_armed_when_disabled
      • test_watchdog_cancel_prevents_the_kill
      • test_kill_keeps_original_deadline_on_handover
      • test_event_loop_wrapper_kills_world_on_crash
      • test_event_loop_wrapper_kills_world_when_cleanup_raises
      • test_event_loop_wrapper_kills_world_when_watchdog_cannot_arm
      • test_event_loop_wrapper_no_kill_on_clean_exit
      • test_event_loop_wrapper_no_kill_when_loop_raises_after_shutdown
      • test_event_loop_wrapper_no_kill_when_enclosing_context_manager_raises
    • CI list coverage:
      • Included in tests/integration/test_lists/test-db/l0_sanity_check.yml (module unittest/_torch/executor/test_hang_detector_kill.py)
  • tests/unittest/executor/test_proxy_fast_death.py
    • Modified:
      • test_pool_session_shutdown_never_blocks_after_release
    • CI list coverage:
      • Included in tests/integration/test_lists/test-db/l0_a10.yml (module unittest/executor/test_proxy_fast_death.py)

Verdict

  • Sufficient (relevant unit test modules are already covered in CI test-db via the test list entries above).

Description

When a rank's executor loop dies on an exception, the rank stops participating in collectives but nothing tells its peers: every peer blocks in its next collective until its own HangDetector fires 300s later, and the whole multi-GPU test session burns that long for an error that was already known (the A4 AutoDeploy catches are this signature: peers crash, the survivor wedges in ADP until the 300s backstop).

Single-rank worlds are exempt (no peers to unblock), and the kill helper never raises (it runs in a finally where an exception would mask the loop's original error).

Behavior change

This enables world-kill-on-crash by default for every multi-rank run. The escape hatch is TLLM_RANK_CRASH_HARD_KILL_GRACE=-1 (any negative value), which restores the previous behavior of waiting for the hang detector. Unset/unparsable/non-finite values use the 10s default. Both are now documented in docs/source/developer-guide/overview.md.

The grace period, and what it does and does not guarantee

The kill waits out a grace period first so that cleaner paths can win the race. If the crash is surfaced to a client during the grace — the caller gets the real traceback — the kill stands down, so the failure is reported rather than replaced by a bare exit 137.

That stand-down is not guaranteed for symmetric crashes, and the description should not be read as promising it. Only rank 0 can set the delivery gate: both delivery sites require a client consumer, and subordinate ranks block in wait_shutdown() with no response thread. So when every rank raises the same deterministic error, the subordinates' kills still fire at crash+grace, and the "N clean tracebacks" outcome holds only if each subordinate finishes cleanup and exits within the grace. destroy_process_group() on a wedged NCCL communicator can exceed it. This is the intended tradeoff: the timer doubles as protection against wedged teardown.

The gate is also set only when a client verifiably woke. On the proxy/IPC path (ipc_batched, the default when the LLM spawns MPI workers) the broadcast cannot reach the client, so the gate stays clear and the kill proceeds — otherwise a leader-only crash would disarm the kill while the peers were still stranded.

Test Coverage

  • tests/unittest/_torch/executor/test_hang_detector_kill.py (CI: l0_sanity_check.yml) — single-rank exemption, grace timing and ordering, disable/invalid/non-finite env handling, non-raising behavior, watchdog arm/cancel/deadline-handover, and the crash-vs-clean-exit wiring, including two real 2-rank MPI_Abort tests.
  • tests/unittest/executor/test_event_loop_error_broadcast.py (CI: l0_cpu.yml) — TestEventLoopErrorDeliveryGate pins the delivery gate: set on verified single-process delivery, left clear on ipc_batched, left clear when there was nobody to wake, and left clear when notify_many() fails.
  • tests/unittest/executor/test_proxy_fast_death.py (CI: l0_a10.yml) — test_pool_session_shutdown_never_blocks_after_release.

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

@JunyiXu-nv
JunyiXu-nv requested review from a team as code owners July 20, 2026 05:22
@JunyiXu-nv
JunyiXu-nv force-pushed the dev-junyix-feat-rank-crash-hard-kill branch from 03e5e9e to cf7fdc1 Compare July 20, 2026 05:23
@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Adds configurable rank-crash hard-kill handling with a grace period, optional watchdog, and defensive error handling. Executor crash cleanup now starts the watchdog before cleanup and invokes direct world termination afterward, with tests covering policy and ordering.

Changes

Rank crash handling

Layer / File(s) Summary
Configurable rank-crash kill policy
tensorrt_llm/_torch/pyexecutor/hang_detector.py
Adds environment-based grace parsing, optional disabling, world-level hard-kill behavior, and daemon watchdog startup.
Executor crash integration
tensorrt_llm/_torch/pyexecutor/py_executor.py
Tracks event-loop crashes, starts the watchdog before cleanup, and invokes direct hard-kill handling after cleanup.
Kill behavior validation
tests/unittest/_torch/executor/test_hang_detector_kill.py, tests/unittest/executor/test_proxy_fast_death.py
Tests grace handling, watchdog applicability and cancellation, kill error suppression, crash cleanup ordering, exception preservation, clean exits, and shutdown state setup.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant PyExecutor_event_loop_wrapper
  participant RankCrashKillWatchdog
  participant executor_loop_cleanup
  participant hard_kill_on_rank_crash
  PyExecutor_event_loop_wrapper->>RankCrashKillWatchdog: Arm after event-loop crash
  PyExecutor_event_loop_wrapper->>executor_loop_cleanup: Execute local cleanup
  RankCrashKillWatchdog->>hard_kill_on_rank_crash: Trigger after grace period
  PyExecutor_event_loop_wrapper->>hard_kill_on_rank_crash: Invoke after cleanup with original deadline
Loading

Suggested reviewers: schetlur-nv

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title follows the required ticket and type format and clearly states the primary multi-rank hard-kill change.
Description check ✅ Passed The description includes the required sections, explains the problem and solution, lists relevant tests and CI coverage, and completes the checklist.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #60270 [ run ] triggered by Bot. Commit: cf7fdc1 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #60270 [ run ] completed with state SUCCESS. Commit: cf7fdc1
/LLM/main/L0_MergeRequest_PR pipeline #48629 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #60547 [ run ] triggered by Bot. Commit: cf7fdc1 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #60547 [ run ] completed with state FAILURE. Commit: cf7fdc1
/LLM/main/L0_MergeRequest_PR pipeline #48859 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #60580 [ run ] triggered by Bot. Commit: cf7fdc1 Link to invocation

@nv-xtf nv-xtf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — One non-blocking question inline about kill reachability if cleanup blocks on a PP send handle.

Comment thread tensorrt_llm/_torch/pyexecutor/py_executor.py Outdated
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #60580 [ run ] completed with state FAILURE. Commit: cf7fdc1
/LLM/main/L0_MergeRequest_PR pipeline #48890 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

Comment thread tensorrt_llm/_torch/pyexecutor/py_executor.py Outdated
@JunyiXu-nv
JunyiXu-nv force-pushed the dev-junyix-feat-rank-crash-hard-kill branch from cf7fdc1 to ec5a475 Compare July 22, 2026 03:53
@JunyiXu-nv
JunyiXu-nv requested review from a team as code owners July 22, 2026 03:53
@JunyiXu-nv
JunyiXu-nv force-pushed the dev-junyix-feat-rank-crash-hard-kill branch from ec5a475 to c0c1a43 Compare July 22, 2026 07:34
@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast --extra-stage "DGX_B200-4_GPUs-PyTorch-3, DGX_H100-4_GPUs-PyTorch-DeepSeek-1"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64515 [ run ] triggered by Bot. Commit: 3cf73d7 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64509 [ run ] completed with state ABORTED. Commit: 0a449fa

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64517 [ run ] triggered by Bot. Commit: 3cf73d7 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64515 [ run ] completed with state ABORTED. Commit: 3cf73d7

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64517 [ run ] completed with state FAILURE. Commit: 3cf73d7
/LLM/main/L0_MergeRequest_PR pipeline #52386 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@JunyiXu-nv
JunyiXu-nv force-pushed the dev-junyix-feat-rank-crash-hard-kill branch from 3cf73d7 to d2f37e0 Compare August 7, 2026 10:24
@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast --extra-stage "DGX_B200-4_GPUs-PyTorch-3, DGX_H100-4_GPUs-PyTorch-DeepSeek-1"

1 similar comment
@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast --extra-stage "DGX_B200-4_GPUs-PyTorch-3, DGX_H100-4_GPUs-PyTorch-DeepSeek-1"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64580 [ run ] triggered by Bot. Commit: d2f37e0 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64581 [ run ] triggered by Bot. Commit: d2f37e0 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64580 [ run ] completed with state ABORTED. Commit: d2f37e0

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64581 [ run ] completed with state FAILURE. Commit: d2f37e0
/LLM/main/L0_MergeRequest_PR pipeline #52444 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@brnguyen2 brnguyen2 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The core mechanism looks right: the completion sentinel with its AST guard, arming the watchdog before cleanup, and the deadline handover are all carefully done, and the test coverage (including the real 2-rank MPI_Abort tests) is well above the bar. Two things to address before merge, detailed inline:

  • The delivery gate is set optimistically on the proxy/IPC path ([base_worker.py:1163](https://github.com/NVIDIA/TensorRT-LLM/pull/16592/files#diff-0ebb3195d987a59ab750ef38e06a2e519b0cc100ed9965c4223c77e8c3154349R1163)). In the default spawned-worker deployment, a leader-only crash marks itself delivered without the client actually being woken, which disarms the 10s kill and regresses that case back to the 300s HangDetector.
  • TLLM_RANK_CRASH_HARD_KILL_GRACE=nan slips past validation and produces a zero-grace kill ([hang_detector.py:110](https://github.com/NVIDIA/TensorRT-LLM/pull/16592/files#diff-45f89712de7a99902beeffb4dbedd76e66eddf672d06da8dc08bc446e317a4f4R110)).

Separately: this ships a default behavior change (world-kill-on-crash enabled for every multi-rank run) under a [fix] title. The description now flags it, which helps, but the new env var and the new default aren't documented anywhere under docs/. A short note in the docs or release notes would let users find the -1 escape hatch without reading the source.

Comment thread tensorrt_llm/executor/base_worker.py Outdated
Comment thread tensorrt_llm/_torch/pyexecutor/hang_detector.py
Comment thread tensorrt_llm/_torch/pyexecutor/py_executor.py
@JunyiXu-nv
JunyiXu-nv requested a review from a team as a code owner August 10, 2026 02:29
@JunyiXu-nv
JunyiXu-nv requested a review from arysef August 10, 2026 02:29
@JunyiXu-nv JunyiXu-nv changed the title [TRTLLM-13409][fix] hard-kill all ranks when one rank's executor loop crashes [TRTLLM-13409][feat] hard-kill all ranks when one rank's executor loop crashes Aug 10, 2026
…p crashes

When a rank's executor loop dies on an exception, that rank stops
participating in collectives but nothing tells its peers. Every peer blocks
in its next collective until its own HangDetector fires 300s later, so the
whole multi-GPU session burns that long for an error that was already
known. The A4 AutoDeploy catches are this signature: peers crash, the
survivor wedges in ADP until the 300s backstop.

A rank whose executor loop crashes now tears the job down (MPI_Abort,
falling back to self-SIGKILL) after a grace period. Single-rank worlds are
exempt -- there are no peers to strand -- and the kill helper never raises,
since it runs in a `finally` where an exception would mask the loop's
original error. A cancellable RankCrashKillWatchdog is armed before cleanup
so the kill stays reachable when cleanup itself blocks or raises, and the
original fire deadline survives handover between waiters.

The grace exists so cleaner paths can win the race: if the crash is
surfaced to a client first, the caller gets the real traceback and the kill
stands down rather than replacing it with a bare exit 137. That gate is set
only on verified delivery -- the helper must be on the single-process path
AND a readable queue must have taken the error -- because on the proxy/IPC
path the broadcast cannot reach the client at all. Setting it there would
disarm the kill while the peers were still stranded, which is the case this
change exists for, in the default spawned-worker deployment.

The stand-down is not guaranteed for symmetric crashes: only rank 0 can set
the gate, so subordinate kills still fire at crash+grace and the "N
tracebacks" outcome holds only if each subordinate exits within the grace.
destroy_process_group() on a wedged NCCL communicator can exceed it. That
is deliberate -- the timer doubles as protection against wedged teardown.

This enables world-kill-on-crash by default for every multi-rank run.
TLLM_RANK_CRASH_HARD_KILL_GRACE tunes the grace; any negative value (e.g.
-1) disables the kill entirely and restores the previous hang-detector
behavior. Unset, unparsable and non-finite values use the 10s default --
nan in particular would otherwise slip past the `grace < 0` check and
collapse to a zero grace, and inf would produce a watchdog that never
fires. Both the default change and the escape hatch are documented in
docs/source/developer-guide/overview.md.

Tests: test_hang_detector_kill.py (l0_sanity_check) covers the exemption,
grace timing and ordering, disable/invalid/non-finite env handling,
non-raising behavior, watchdog arm/cancel/deadline-handover and the
crash-vs-clean-exit wiring, including two real 2-rank MPI_Abort tests;
test_event_loop_error_broadcast.py (l0_cpu) pins the delivery gate,
including that it stays clear on ipc_batched.

Signed-off-by: JunyiXu-nv <219237550+JunyiXu-nv@users.noreply.github.com>
@JunyiXu-nv
JunyiXu-nv force-pushed the dev-junyix-feat-rank-crash-hard-kill branch from 5b5050c to 9c7cd06 Compare August 10, 2026 02:51
@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast --extra-stage "DGX_B200-4_GPUs-PyTorch-3, DGX_H100-4_GPUs-PyTorch-DeepSeek-1"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64928 [ run ] triggered by Bot. Commit: 9c7cd06 Link to invocation

@brnguyen2 brnguyen2 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving — the comments below are optional touch-ups, not blockers.

The escalation design holds together well: the _event_loop_completed sentinel is the right crash predicate, the delivery gate consistently fails toward killing, and the deadline handover between the watchdog and the inline kill avoids the double-grace trap. The AST guards on the break sites and the two unmocked 2-rank mpirun tests close the gaps a purely mocked suite would leave.

One remaining behavior worth a look before merge (inline comment on hang_detector.py): the post-cleanup kill path sleeps the full remaining grace uninterruptibly even when the delivery gate is already set, which adds up to the grace to shutdown latency in the symmetric-crash case since shutdown() joins the event-loop thread.

Description nits: the QA test list has drifted from the final code — several test names changed (e.g. test_watchdog_cancel_prevents_the_kill is now test_watchdog_cancel_disarms_this_timer), the delivery-gate tests and the real-MPI tests are missing, and tests/unittest/executor/test_proxy_fast_death.py is listed as modified but is not in the diff. Worth refreshing so the merge-commit description matches what ships.

Comment thread tensorrt_llm/_torch/pyexecutor/hang_detector.py
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #64928 [ run ] completed with state FAILURE. Commit: 9c7cd06
/LLM/main/L0_MergeRequest_PR pipeline #52765 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast --extra-stage "DGX_B200-4_GPUs-PyTorch-3, DGX_H100-4_GPUs-PyTorch-DeepSeek-1"

@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot help

@github-actions

Copy link
Copy Markdown

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) --high-priority]

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. Supports wildcard * for pattern matching (e.g., "*PerfSanity*" matches all stages containing PerfSanity). Examples: "A10-PyTorch-1, xxx", "PerfSanity". The patterns "*", "*Post-Merge*", and "*PerfSanity*", including equivalent escaped or repeated-star forms and their use in comma-separated lists, require the ci: post-merge approved PR label. 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. Requires the ci: full pre-merge approved label on the PR (ask a member of NVIDIA/trt-llm-ci-approvers). 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. Requires the ci: full pre-merge approved label on the PR (ask a member of NVIDIA/trt-llm-ci-approvers).

--post-merge (OPTIONAL) : Run the L0 post-merge pipeline instead of the ordinary L0 pre-merge pipeline. Requires the ci: post-merge approved PR label applied by an active member of NVIDIA/trt-llm-ci-approvers. The approval label remains in place when new commits are pushed.

--extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx" (OPTIONAL) : Run the ordinary L0 pre-merge pipeline and specified test stages. Supports wildcard * for pattern matching. Examples: --extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx", --extra-stage "Post-Merge". The patterns "*", "*Post-Merge*", and "*PerfSanity*", including equivalent escaped or repeated-star forms and their use in comma-separated lists, require the ci: post-merge approved PR label.

--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 the stage-list parameter to access the appropriate container environment. Note: Does NOT update GitHub check status.

--high-priority (OPTIONAL) : Run the pipeline with high priority. This option is restricted to authorized users only and will route the job to a high-priority queue.

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.

@JunyiXu-nv

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast --add-multi-gpu-test --extra-stage "DGX_B200-4_GPUs-PyTorch-3, DGX_H100-4_GPUs-PyTorch-DeepSeek-1"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #65054 [ run ] triggered by Bot. Commit: 9c7cd06 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #65054 [ run ] completed with state SUCCESS. Commit: 9c7cd06
/LLM/main/L0_MergeRequest_PR pipeline #52861 completed with status: 'SUCCESS'

CI Report

Link to invocation

@JunyiXu-nv
JunyiXu-nv merged commit 27e5b70 into NVIDIA:main Aug 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants