Skip to content

[TRTLLM-13781][chore] Remove legacy TensorRT examples#15763

Merged
Wanli-Jiang merged 3 commits into
NVIDIA:mainfrom
Wanli-Jiang:user/williamj/deprecated-trt-backend-step1p1
Jul 2, 2026
Merged

[TRTLLM-13781][chore] Remove legacy TensorRT examples#15763
Wanli-Jiang merged 3 commits into
NVIDIA:mainfrom
Wanli-Jiang:user/williamj/deprecated-trt-backend-step1p1

Conversation

@Wanli-Jiang

@Wanli-Jiang Wanli-Jiang commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

This is step 1.1 of removing the legacy TensorRT backend from TensorRT-LLM.
It removes the per-model TensorRT example directories (the
convert_checkpoint.pytrtllm-build → engine run.py workflow) while
keeping all PyTorch-backend example content, and waives the legacy-TensorRT
tests that build engines from those now-removed examples so CI stays green.

PyTorch is the supported backend going forward; it loads HuggingFace checkpoints
directly, so the per-model checkpoint-conversion / engine-build examples no longer
apply.

Scope: examples/ (deletions) + pyproject.toml (one codespell cleanup) +
tests/integration/test_lists/waives.txt (waive the dependent legacy-TRT tests).
154 files changed, +65 / −34,623 — zero Python/C++ source touched, so this PR
cannot change runtime behavior or break the package build / import tensorrt_llm.

This is one of four directory-scoped PRs that split the TensorRT-example/doc/test
removal for easier review (1.1 examples, 1.2 docs, 1.3 tests, 1.4 Triton C++ backend).

What is removed (149 deletions)

The TensorRT example trees — each is the convert_checkpoint.py / trtllm-build
engine workflow:

  • examples/models/core/* — bert, commandr, enc_dec, gemma, glm-4-9b, gpt,
    internlm2, llama, mamba, mllama, nemotron_nas, phi, qwen, recurrentgemma, vit, whisper
  • examples/models/contrib/* — baichuan, bloom, dbrx, deepseek_v1/v2, dit, mmdit,
    stdit, falcon, gptj, gptneox, grok, mpt, opt, cogvlm, …
  • examples/eagle/, examples/medusa/, examples/redrafter/,
    examples/lookahead/, examples/draft_target_model/
  • examples/llm-api/_tensorrt_engine/ (the TensorRT-engine LLM mirror)

What is kept (PyTorch content preserved)

File Action Why
examples/models/core/phi/phi4-mm.md Kept (unchanged — not in the diff) Pure PyTorch doc: Phi-4-multimodal via examples/llm-api/quickstart_multimodal.py, --backend pytorch, references tensorrt_llm/_torch/models/modeling_phi4mm.py
examples/models/core/qwen/README.md Trimmed to PyTorch-only Kept the Qwen3 / Qwen3-Next sections (quickstart_advanced.py, trtllm-eval/trtllm-bench --backend pytorch, trtllm-serve); dropped the TRT Qwen/Qwen2 convert/build body
examples/models/core/gemma/README.md Trimmed to PyTorch-only Kept the "Run Gemma 4" PyTorch section (trtllm-serve, trtllm-eval); dropped the older Gemma TRT build flow
examples/models/core/nemotron_nas/README.md Trimmed to a PyTorch pointer Points to examples/llm-api/quickstart_advanced.py / trtllm-serve

Not touched at all: examples/llm-api/, examples/auto_deploy/, examples/serve/,
examples/models/core/multimodal/, and the rest of the non-TRT examples.

examples/models/core/llama/README.md is dropped (one of the 149 deletions): its
PyTorch content (Llama-3.3-70B FP8 serving + benchmarking) is already covered, more
comprehensively, by
docs/source/deployment-guide/deployment-guide-for-llama3.3-70b-on-trtllm.md.

Other source change

  • pyproject.toml: drop the codespell exclude-file entry that pointed at the
    removed examples/models/core/whisper/tokenizer.py.

CI: waive the legacy-TRT tests that depend on the removed examples

The removed example directories are not merely user docs — a body of legacy
TensorRT tests builds engines directly from them
at test time (via the
convert_checkpoint.pytrtllm-build workflow, *_example_root conftest
fixtures, the accuracy_core EXAMPLE_FOLDER path, and the C++
cpp/tests/resources/scripts/build_*_engines.py scripts). With the examples gone
these tests fail with missing-file errors (convert_checkpoint.py /
requirements.txt / generated config.json).

Because these are all legacy TensorRT-backend tests that will be removed
together with the backend, we waive them here (rather than restoring the examples)
and remove both the tests and these waives in a follow-up PR. Every waive is
tagged TRTLLM-13781 so the follow-up can grep and delete them as a unit.

41 waive entries added to tests/integration/test_lists/waives.txt:

Category Entries Granularity
C++ engine e2e cpp/test_e2e.py::test_model[-eagle-86 / -medusa-86 / -recurrentgemma-86 / -gpt_executor-80 / -gpt_tests-80 / -t5-90 / -enc_dec_language_adapter-90 / fp8-llama-90], ::test_benchmarks[t5-90] per node-id (only the not-already-waived TRT variants)
C++ multi-GPU cpp/test_multi_gpu.py whole file (0 PyTorch tests)
C++ TRT bindings / runner unittest/bindings/test_executor_bindings.py, unittest/test_model_runner_cpp.py whole file (build the gpt2 TRT engine)
TRT CLI accuracy accuracy/test_cli_flow.py whole file (EXAMPLE_FOLDERconvert_checkpoint + trtllm-build)
Pure-TRT example tests examples/test_{bert,whisper,enc_dec,medusa,redrafter,eagle,draft_target_model,mamba,commandr,nemotron_nas,qwen2audio,qwen,multimodal}.py whole file (verified 0 PyTorch markers)
TRT functions in mixed example files test_gpt.py (gpt2 medium / bad_words / stop_words / next_prompt_tuning), test_llama.py (long_alpaca_8gpu_summary, v3_dora_1gpu), test_phi.py (phi_quantization_1gpu), test_granite.py (granite_bf16_lora, llm_granite) exact parametrized node-ids only

Scoping & safety

  • PyTorch/AutoDeploy coverage is never waived. Whole-file waives were applied
    only to files verified to contain no PyTorch/AutoDeploy tests. For the mixed
    files (test_gpt/test_llama/test_phi/test_granite) only the individual
    TensorRT test functions are waived (via the exact parametrized node-ids
    present in the active test lists); the PyTorch tests in the same files —
    test_gpt_oss_20b_lora_torch, test_llama_3_x_with_bf16_lora_torch,
    test_phi_4_mini_instruct_with_bf16_lora_torch — keep running.
  • use_py_session / use_cpp_session parametrizations are the TensorRT Python /
    C++ runtimes (still TRT engines), not the PyTorch backend, and are correctly waived.
  • No duplicates: test_benchmarks[bart-90] / [gpt-80] and three test_granite
    params were already waived under existing NVBugs and were left untouched.

Validation of the waive list

  • scripts/check_test_list.py --check-duplicate-waives → pass (no duplicates).
  • scripts/check_test_list.py --validate → pass (AST: 2695 unique test entries; every
    waive resolves to a real test id present in the active test lists).
  • waives.txt stays LC_ALL=C-sorted; passes the test-list txt tab/space and
    file-contents-sorter hooks.

How files were classified

Every deleted file was read from its original content and classified
TRT-ONLY / KEEP-PYTORCH / MIXED using concrete signals: convert_checkpoint.py
/ trtllm-build usage, --backend / backend= values, _tensorrt_engine
imports, and references to tensorrt_llm/_torch/. All 117 deleted scripts and 31
deleted READMEs are TRT-only; the 4 files above carried PyTorch content and were
preserved.

Validation

  • 0 files under tensorrt_llm/** or cpp/** changed → no build/import/runtime impact.
  • The trimmed READMEs have no dangling internal anchors and their relative links
    (examples/llm-api/quickstart_*.py) resolve.
  • All originally-reported CI failures (A10-CPP test_model[-eagle/-medusa],
    A10-TensorRT test_executor_bindings / test_bert / test_whisper, and the
    H100 cpp / test_cli_flow / test_enc_dec / test_model_runner_cpp failures)
    map to a waive entry and are skipped.

Summary by CodeRabbit

  • Chores
    • Removed a large set of legacy example scripts, conversion utilities, and related docs across multiple model/example folders.
    • Cleaned out several example dependency files and ignore rules.
    • The repository now has less outdated sample content and fewer bundled example-specific requirements.

Description

Test Coverage

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.

@Wanli-Jiang
Wanli-Jiang force-pushed the user/williamj/deprecated-trt-backend-step1p1 branch from c1e1c13 to 61717fd Compare June 30, 2026 07:45
@Wanli-Jiang
Wanli-Jiang marked this pull request as ready for review June 30, 2026 07:47
@Wanli-Jiang
Wanli-Jiang requested review from a team as code owners June 30, 2026 07:47
@Wanli-Jiang

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Removes all legacy example content across speculative decoding examples (eagle, medusa, lookahead, draft_target_model), contrib model examples (baichuan, bloom, cogvlm, dbrx, deepseek_v1/v2, dit, falcon, gptj, gptneox, grok, mmdit, mpt, opt, stdit), and core model examples (bert, commandr, enc_dec). Deleted files include READMEs, convert_checkpoint.py scripts, requirements.txt files, .gitignore files, and supporting Python modules. No replacement content is added.

Changes

Cohort / File(s) Summary
Speculative Decoding Examples
examples/draft_target_model/README.md, examples/draft_target_model/requirements.txt, examples/eagle/README.md, examples/eagle/convert_checkpoint.py, examples/eagle/requirements.txt, examples/lookahead/README.md, examples/lookahead/requirements.txt, examples/medusa/README.md, examples/medusa/convert_checkpoint.py, examples/medusa/requirements.txt
Removed all legacy speculative decoding example files (DTM, EAGLE, Lookahead, Medusa), including documentation, checkpoint conversion scripts, and dependency lists.
LLM-API Tensorrt Engine Examples
examples/llm-api/_tensorrt_engine/llm_eagle*.py, .../llm_inference_customize.py, .../llm_inference_kv_events.py, .../llm_lookahead_decoding.py, .../llm_medusa_decoding.py, .../llm_quantization.py, .../quickstart_example.py
Removed all _tensorrt_engine example scripts demonstrating EAGLE, Medusa, lookahead decoding, quantization, KV events, and quickstart usage.
Contrib Model Examples
examples/models/contrib/baichuan/*, .../bloom/*, .../cogvlm/convert_checkpoint.py, .../dbrx/*, .../deepseek_v1/*, .../deepseek_v2/*, .../dit/*, .../falcon/*, .../gptj/*, .../gptneox/*, .../grok/*, .../mmdit/*, .../mpt/*, .../opt/*
Removed READMEs, convert_checkpoint.py, requirements.txt, .gitignore, and supporting Python modules for all contrib model examples.
STDiT Example
examples/models/contrib/stdit/*
Removed entire STDiT/OpenSora example directory including pipeline, VAE, scheduler, text encoder, aspect ratio utilities, video transforms, and sample scripts.
Core Model Examples
examples/models/core/bert/*, .../commandr/*, .../enc_dec/README.md
Removed all legacy BERT, Command-R, and enc-dec example files including READMEs, conversion scripts, run scripts, and utilities.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The template sections are present, but the actual Description and Test Coverage fields are empty, so the PR lacks the required short explanation and validation details. Add a brief Description of the change and a Test Coverage section listing the checks run or explicitly stating none were run.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise, specific, and accurately summarizes the main change: removing legacy TensorRT examples.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ 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 #56554 [ run ] triggered by Bot. Commit: 61717fd Link to invocation

@Wanli-Jiang
Wanli-Jiang requested a review from juney-nvidia June 30, 2026 07:57

@juney-nvidia juney-nvidia 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.

Approved from OSS compliance perspective.

@QiJune QiJune 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

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #56554 [ run ] completed with state SUCCESS. Commit: 61717fd
/LLM/main/L0_MergeRequest_PR pipeline #45392 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

@Wanli-Jiang

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #56611 [ run ] triggered by Bot. Commit: 61717fd Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #56611 [ run ] completed with state SUCCESS. Commit: 61717fd
/LLM/main/L0_MergeRequest_PR pipeline #45437 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

@Wanli-Jiang

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #56789 [ run ] triggered by Bot. Commit: 61717fd Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #56789 [ run ] completed with state SUCCESS. Commit: 61717fd
/LLM/main/L0_MergeRequest_PR pipeline #45607 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

@Wanli-Jiang
Wanli-Jiang force-pushed the user/williamj/deprecated-trt-backend-step1p1 branch 2 times, most recently from c637b5c to 24223a9 Compare July 1, 2026 04:19
@Wanli-Jiang

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57058 [ run ] triggered by Bot. Commit: ae18665 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57057 [ run ] completed with state ABORTED. Commit: ae18665

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57058 [ run ] completed with state FAILURE. Commit: ae18665
/LLM/main/L0_MergeRequest_PR pipeline #45851 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

@Wanli-Jiang

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57121 [ run ] triggered by Bot. Commit: ae18665 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57121 [ run ] completed with state FAILURE. Commit: ae18665
/LLM/main/L0_MergeRequest_PR pipeline #45909 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

@Wanli-Jiang

Copy link
Copy Markdown
Collaborator Author

/bot skip --comment "only one case failed and it was passed previously and locally, we can skip checking again and again"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57149 [ skip ] triggered by Bot. Commit: ae18665 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #57149 [ skip ] completed with state SUCCESS. Commit: ae18665
Skipping testing for commit ae18665

Link to invocation

@Wanli-Jiang
Wanli-Jiang merged commit e5a05b2 into NVIDIA:main Jul 2, 2026
7 checks passed
evezhier pushed a commit to evezhier/TensorRT-LLM that referenced this pull request Jul 2, 2026
Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
Wanli-Jiang added a commit to Wanli-Jiang/TensorRT-LLM that referenced this pull request Jul 3, 2026
Follow-up to NVIDIA#15763 ([TRTLLM-13781] Remove legacy TensorRT examples),
which deleted the TRT example scripts and waived their now-unrunnable
tests with the note "tests to be removed in follow-up PR". This is that
follow-up.

Remove the waived test entries from the test-db/*.yml schedule lists and
drop their matching SKIP lines from waives.txt. Covers examples/ (gpt,
enc_dec, multimodal, whisper, redrafter, medusa, draft_target_model,
eagle, commandr, llama, qwen, phi, mamba, granite, bert), accuracy/
test_cli_flow.py, and the TRT-engine cpp/ tests (test_e2e.py,
test_multi_gpu.py executor/disagg cases). Also drop the now-empty 1-GPU
tensorrt condition block in l0_a100.yml so trt-test-db does not choke on
a null tests list, and remove two orphaned platform waives (GH200/sm100
video-neva) whose only test entry is now gone.

Restore six shared multi-GPU C++ unit tests that NVIDIA#15763 over-waived by
bulk-waiving all of cpp/test_multi_gpu.py: test_mpi_utils,
test_fused_gemm_allreduce, three test_cache_transceiver params, and
test_user_buffer. These run pure gtest binaries from
tests/unit_tests/multi_gpu (mpiUtilsTest, gemmAllReduceTest,
cacheTransceiverTest, userBufferTest) with synthetic inputs and need no
example model or TRT engine; they were running before NVIDIA#15763. They are
re-added as active in l0_dgx_h100.yml. test_cache_transceiver mooncake
keeps its real nvbugs/5838199 waive.

The test .py files are left in place — they still hold surviving
PyTorch-path cases (e.g. test_gpt_oss_20b_lora_torch). The one whole-file
waive (unittest/bindings/test_executor_bindings.py) is kept: every test
there builds a TRT engine via trtllm.Executor, and its removal belongs
with the C++ Executor-bindings removal, not this test-list cleanup.

Scoped to tests/ — no runtime source touched.

Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
Wanli-Jiang added a commit to Wanli-Jiang/TensorRT-LLM that referenced this pull request Jul 3, 2026
Follow-up to NVIDIA#15763 ([TRTLLM-13781] Remove legacy TensorRT examples),
which deleted the TRT example scripts and waived their now-unrunnable
tests with the note "tests to be removed in follow-up PR". This is that
follow-up.

Remove the waived test entries from the test-db/*.yml schedule lists and
drop their matching SKIP lines from waives.txt. Covers examples/ (gpt,
enc_dec, multimodal, whisper, redrafter, medusa, draft_target_model,
eagle, commandr, llama, qwen, phi, mamba, granite, bert), accuracy/
test_cli_flow.py, and the TRT-engine cpp/ tests (test_e2e.py,
test_multi_gpu.py executor/disagg cases). Also drop the now-empty 1-GPU
tensorrt condition block in l0_a100.yml so trt-test-db does not choke on
a null tests list, and remove two orphaned platform waives (GH200/sm100
video-neva) whose only test entry is now gone.

Restore six shared multi-GPU C++ unit tests that NVIDIA#15763 over-waived by
bulk-waiving all of cpp/test_multi_gpu.py: test_mpi_utils,
test_fused_gemm_allreduce, three test_cache_transceiver params, and
test_user_buffer. These run pure gtest binaries from
tests/unit_tests/multi_gpu (mpiUtilsTest, gemmAllReduceTest,
cacheTransceiverTest, userBufferTest) with synthetic inputs and need no
example model or TRT engine; they were running before NVIDIA#15763. They are
re-added as active in l0_dgx_h100.yml. test_cache_transceiver mooncake
keeps its real nvbugs/5838199 waive.

The test .py files are left in place — they still hold surviving
PyTorch-path cases (e.g. test_gpt_oss_20b_lora_torch). The one whole-file
waive (unittest/bindings/test_executor_bindings.py) is kept: every test
there builds a TRT engine via trtllm.Executor, and its removal belongs
with the C++ Executor-bindings removal, not this test-list cleanup.

Scoped to tests/ — no runtime source touched.

Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
Wanli-Jiang added a commit to Wanli-Jiang/TensorRT-LLM that referenced this pull request Jul 3, 2026
Follow-up to NVIDIA#15763 ([TRTLLM-13781] Remove legacy TensorRT examples),
which deleted the TRT example scripts and waived their now-unrunnable
tests with the note "tests to be removed in follow-up PR". This is that
follow-up.

Remove the waived test entries from the test-db/*.yml schedule lists and
drop their matching SKIP lines from waives.txt. Covers examples/ (gpt,
enc_dec, multimodal, whisper, redrafter, medusa, draft_target_model,
eagle, commandr, llama, qwen, phi, mamba, granite, bert), accuracy/
test_cli_flow.py, and the TRT-engine cpp/ tests (test_e2e.py,
test_multi_gpu.py executor/disagg cases). Also drop the now-empty 1-GPU
tensorrt condition block in l0_a100.yml so trt-test-db does not choke on
a null tests list, and remove orphaned waives whose only test entry is
now gone: the GH200/sm100 video-neva platform waives, and the sm100
"Disable for Blackwell" combined-job waive (its multi-target l0_a100
tensorrt job was removed with the TRT tests).

Restore six shared multi-GPU C++ unit tests that NVIDIA#15763 over-waived by
bulk-waiving all of cpp/test_multi_gpu.py: test_mpi_utils,
test_fused_gemm_allreduce, three test_cache_transceiver params, and
test_user_buffer. These run pure gtest binaries from
tests/unit_tests/multi_gpu (mpiUtilsTest, gemmAllReduceTest,
cacheTransceiverTest, userBufferTest) with synthetic inputs and need no
example model or TRT engine; they were running before NVIDIA#15763. They are
re-added as active in l0_dgx_h100.yml. test_cache_transceiver mooncake
keeps its real nvbugs/5838199 waive.

The test .py files are left in place — they still hold surviving
PyTorch-path cases (e.g. test_gpt_oss_20b_lora_torch). The one whole-file
waive (unittest/bindings/test_executor_bindings.py) is kept: every test
there builds a TRT engine via trtllm.Executor, and its removal belongs
with the C++ Executor-bindings removal, not this test-list cleanup.

Scoped to tests/ — no runtime source touched.

Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
Wanli-Jiang added a commit to Wanli-Jiang/TensorRT-LLM that referenced this pull request Jul 3, 2026
Follow-up to NVIDIA#15763 ([TRTLLM-13781] Remove legacy TensorRT examples),
which deleted the TRT example scripts and waived their now-unrunnable
tests with the note "tests to be removed in follow-up PR". This is that
follow-up.

Remove the waived test entries from the test-db/*.yml schedule lists and
drop their matching SKIP lines from waives.txt. Covers examples/ (gpt,
enc_dec, multimodal, whisper, redrafter, medusa, draft_target_model,
eagle, commandr, llama, qwen, phi, mamba, granite, bert), accuracy/
test_cli_flow.py, and the TRT-engine cpp/ tests (test_e2e.py,
test_multi_gpu.py executor/disagg cases). Also drop the now-empty 1-GPU
tensorrt condition block in l0_a100.yml so trt-test-db does not choke on
a null tests list, and remove orphaned waives whose only test entry is
now gone: the GH200/sm100 video-neva platform waives, and the sm100
"Disable for Blackwell" combined-job waive (its multi-target l0_a100
tensorrt job was removed with the TRT tests).

Restore six shared multi-GPU C++ unit tests that NVIDIA#15763 over-waived by
bulk-waiving all of cpp/test_multi_gpu.py: test_mpi_utils,
test_fused_gemm_allreduce, three test_cache_transceiver params, and
test_user_buffer. These run pure gtest binaries from
tests/unit_tests/multi_gpu (mpiUtilsTest, gemmAllReduceTest,
cacheTransceiverTest, userBufferTest) with synthetic inputs and need no
example model or TRT engine; they were running before NVIDIA#15763. They are
re-added as active in l0_dgx_h100.yml. test_cache_transceiver mooncake
keeps its real nvbugs/5838199 waive.

The test .py files are left in place — they still hold surviving
PyTorch-path cases (e.g. test_gpt_oss_20b_lora_torch). The one whole-file
waive (unittest/bindings/test_executor_bindings.py) is kept: every test
there builds a TRT engine via trtllm.Executor, and its removal belongs
with the C++ Executor-bindings removal, not this test-list cleanup.

Scoped to tests/ — no runtime source touched.

Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
Wanli-Jiang added a commit to Wanli-Jiang/TensorRT-LLM that referenced this pull request Jul 4, 2026
Follow-up to NVIDIA#15763 ([TRTLLM-13781] Remove legacy TensorRT examples),
which deleted the TRT example scripts and waived their now-unrunnable
tests with the note "tests to be removed in follow-up PR". This is that
follow-up.

Remove the waived test entries from the test-db/*.yml schedule lists and
drop their matching SKIP lines from waives.txt. Covers examples/ (gpt,
enc_dec, multimodal, whisper, redrafter, medusa, draft_target_model,
eagle, commandr, llama, qwen, phi, mamba, granite, bert), accuracy/
test_cli_flow.py, and the TRT-engine cpp/ tests (test_e2e.py,
test_multi_gpu.py executor/disagg cases). Also drop the now-empty 1-GPU
tensorrt condition block in l0_a100.yml so trt-test-db does not choke on
a null tests list, and remove orphaned waives whose only test entry is
now gone: the GH200/sm100 video-neva platform waives, and the sm100
"Disable for Blackwell" combined-job waive (its multi-target l0_a100
tensorrt job was removed with the TRT tests).

Also unschedule the legacy TensorRT-engine Triton tests in
triton_server/test_triton.py (test_gpt, test_gptj, test_mistral*,
test_whisper, test_medusa, test_eagle, test_llava*, test_mllama,
test_qwen2_vl, test_t5_ib, test_gpt_ib*, etc.). Each builds a TRT engine
via triton_server/build_model.sh, which pushd's into the examples/models/**
dirs removed above and fails once they are gone
("pushd: examples/models/contrib/gptj: No such file or directory"). Drop
their entries from l0_a30.yml, l0_a100.yml and l0_b200.yml (removing the
now-empty a100/b200 triton post_merge blocks so trt-test-db does not choke
on a null tests list) and their orphaned waives.txt lines. The
self-contained Triton unit tests that build no engine are kept
(test_cpp_unit_tests, test_python_bls_unit_tests,
test_python_preproc_unit_tests, test_python_multimodal_encoders_unit_tests,
test_fill_template, test_llmapi_unit_tests); PyTorch-path Triton coverage
lives in test_triton_llmapi.py.

Restore six shared multi-GPU C++ unit tests that NVIDIA#15763 over-waived by
bulk-waiving all of cpp/test_multi_gpu.py: test_mpi_utils,
test_fused_gemm_allreduce, three test_cache_transceiver params, and
test_user_buffer. These run pure gtest binaries from
tests/unit_tests/multi_gpu (mpiUtilsTest, gemmAllReduceTest,
cacheTransceiverTest, userBufferTest) with synthetic inputs and need no
example model or TRT engine; they were running before NVIDIA#15763. They are
re-added as active in l0_dgx_h100.yml. test_cache_transceiver mooncake
keeps its real nvbugs/5838199 waive.

The test .py files are left in place — they still hold surviving
PyTorch-path cases (e.g. test_gpt_oss_20b_lora_torch). The one whole-file
waive (unittest/bindings/test_executor_bindings.py) is kept: every test
there builds a TRT engine via trtllm.Executor, and its removal belongs
with the C++ Executor-bindings removal, not this test-list cleanup.

Scoped to tests/ — no runtime source touched.

Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
Wanli-Jiang added a commit to Wanli-Jiang/TensorRT-LLM that referenced this pull request Jul 6, 2026
Follow-up to NVIDIA#15763 ([TRTLLM-13781] Remove legacy TensorRT examples),
which deleted the TRT example scripts and waived their now-unrunnable
tests with the note "tests to be removed in follow-up PR". This is that
follow-up.

Remove the waived test entries from the test-db/*.yml schedule lists and
drop their matching SKIP lines from waives.txt. Covers examples/ (gpt,
enc_dec, multimodal, whisper, redrafter, medusa, draft_target_model,
eagle, commandr, llama, qwen, phi, mamba, granite, bert), accuracy/
test_cli_flow.py, and the TRT-engine cpp/ tests (test_e2e.py,
test_multi_gpu.py executor/disagg cases). Also drop the now-empty 1-GPU
tensorrt condition block in l0_a100.yml so trt-test-db does not choke on
a null tests list, and remove orphaned waives whose only test entry is
now gone: the GH200/sm100 video-neva platform waives, and the sm100
"Disable for Blackwell" combined-job waive (its multi-target l0_a100
tensorrt job was removed with the TRT tests).

Also unschedule the legacy TensorRT-engine Triton tests in
triton_server/test_triton.py (test_gpt, test_gptj, test_mistral*,
test_whisper, test_medusa, test_eagle, test_llava*, test_mllama,
test_qwen2_vl, test_t5_ib, test_gpt_ib*, etc.). Each builds a TRT engine
via triton_server/build_model.sh, which pushd's into the examples/models/**
dirs removed above and fails once they are gone
("pushd: examples/models/contrib/gptj: No such file or directory"). Drop
their entries from l0_a30.yml, l0_a100.yml and l0_b200.yml (removing the
now-empty a100/b200 triton post_merge blocks so trt-test-db does not choke
on a null tests list) and their orphaned waives.txt lines. The
self-contained Triton unit tests that build no engine are kept
(test_cpp_unit_tests, test_python_bls_unit_tests,
test_python_preproc_unit_tests, test_python_multimodal_encoders_unit_tests,
test_fill_template, test_llmapi_unit_tests); PyTorch-path Triton coverage
lives in test_triton_llmapi.py.

Restore six shared multi-GPU C++ unit tests that NVIDIA#15763 over-waived by
bulk-waiving all of cpp/test_multi_gpu.py: test_mpi_utils,
test_fused_gemm_allreduce, three test_cache_transceiver params, and
test_user_buffer. These run pure gtest binaries from
tests/unit_tests/multi_gpu (mpiUtilsTest, gemmAllReduceTest,
cacheTransceiverTest, userBufferTest) with synthetic inputs and need no
example model or TRT engine; they were running before NVIDIA#15763. They are
re-added as active in l0_dgx_h100.yml. test_cache_transceiver mooncake
keeps its real nvbugs/5838199 waive.

The test .py files are left in place — they still hold surviving
PyTorch-path cases (e.g. test_gpt_oss_20b_lora_torch). The one whole-file
waive (unittest/bindings/test_executor_bindings.py) is kept: every test
there builds a TRT engine via trtllm.Executor, and its removal belongs
with the C++ Executor-bindings removal, not this test-list cleanup.

Scoped to tests/ — no runtime source touched.

Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
Wanli-Jiang added a commit to Wanli-Jiang/TensorRT-LLM that referenced this pull request Jul 6, 2026
Follow-up to NVIDIA#15763 ([TRTLLM-13781] Remove legacy TensorRT examples),
which deleted the TRT example scripts and waived their now-unrunnable
tests with the note "tests to be removed in follow-up PR". This is that
follow-up.

Remove the waived test entries from the test-db/*.yml schedule lists and
drop their matching SKIP lines from waives.txt. Covers examples/ (gpt,
enc_dec, multimodal, whisper, redrafter, medusa, draft_target_model,
eagle, commandr, llama, qwen, phi, mamba, granite, bert), accuracy/
test_cli_flow.py, and the TRT-engine cpp/ tests (test_e2e.py,
test_multi_gpu.py executor/disagg cases). Also drop the now-empty 1-GPU
tensorrt condition block in l0_a100.yml so trt-test-db does not choke on
a null tests list, and remove orphaned waives whose only test entry is
now gone: the GH200/sm100 video-neva platform waives, and the sm100
"Disable for Blackwell" combined-job waive (its multi-target l0_a100
tensorrt job was removed with the TRT tests).

Also unschedule the legacy TensorRT-engine Triton tests in
triton_server/test_triton.py (test_gpt, test_gptj, test_mistral*,
test_whisper, test_medusa, test_eagle, test_llava*, test_mllama,
test_qwen2_vl, test_t5_ib, test_gpt_ib*, etc.). Each builds a TRT engine
via triton_server/build_model.sh, which pushd's into the examples/models/**
dirs removed above and fails once they are gone
("pushd: examples/models/contrib/gptj: No such file or directory"). Drop
their entries from l0_a30.yml, l0_a100.yml and l0_b200.yml (removing the
now-empty a100/b200 triton post_merge blocks so trt-test-db does not choke
on a null tests list) and their orphaned waives.txt lines. The
self-contained Triton unit tests that build no engine are kept
(test_cpp_unit_tests, test_python_bls_unit_tests,
test_python_preproc_unit_tests, test_python_multimodal_encoders_unit_tests,
test_fill_template, test_llmapi_unit_tests); PyTorch-path Triton coverage
lives in test_triton_llmapi.py.

Restore six shared multi-GPU C++ unit tests that NVIDIA#15763 over-waived by
bulk-waiving all of cpp/test_multi_gpu.py: test_mpi_utils,
test_fused_gemm_allreduce, three test_cache_transceiver params, and
test_user_buffer. These run pure gtest binaries from
tests/unit_tests/multi_gpu (mpiUtilsTest, gemmAllReduceTest,
cacheTransceiverTest, userBufferTest) with synthetic inputs and need no
example model or TRT engine; they were running before NVIDIA#15763. They are
re-added as active in l0_dgx_h100.yml. test_cache_transceiver mooncake
keeps its real nvbugs/5838199 waive.

The test .py files are left in place — they still hold surviving
PyTorch-path cases (e.g. test_gpt_oss_20b_lora_torch). The one whole-file
waive (unittest/bindings/test_executor_bindings.py) is kept: every test
there builds a TRT engine via trtllm.Executor, and its removal belongs
with the C++ Executor-bindings removal, not this test-list cleanup.

Scoped to tests/ — no runtime source touched.

Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
Wanli-Jiang added a commit to Wanli-Jiang/TensorRT-LLM that referenced this pull request Jul 6, 2026
Follow-up to NVIDIA#15763 ([TRTLLM-13781] Remove legacy TensorRT examples),
which deleted the TRT example scripts and waived their now-unrunnable
tests with the note "tests to be removed in follow-up PR". This is that
follow-up.

Remove the waived test entries from the test-db/*.yml schedule lists and
drop their matching SKIP lines from waives.txt. Covers examples/ (gpt,
enc_dec, multimodal, whisper, redrafter, medusa, draft_target_model,
eagle, commandr, llama, qwen, phi, mamba, granite, bert), accuracy/
test_cli_flow.py, and the TRT-engine cpp/ tests (test_e2e.py,
test_multi_gpu.py executor/disagg cases). Also drop the now-empty 1-GPU
tensorrt condition block in l0_a100.yml so trt-test-db does not choke on
a null tests list, and remove orphaned waives whose only test entry is
now gone: the GH200/sm100 video-neva platform waives, and the sm100
"Disable for Blackwell" combined-job waive (its multi-target l0_a100
tensorrt job was removed with the TRT tests).

Also unschedule the legacy TensorRT-engine Triton tests in
triton_server/test_triton.py (test_gpt, test_gptj, test_mistral*,
test_whisper, test_medusa, test_eagle, test_llava*, test_mllama,
test_qwen2_vl, test_t5_ib, test_gpt_ib*, etc.). Each builds a TRT engine
via triton_server/build_model.sh, which pushd's into the examples/models/**
dirs removed above and fails once they are gone
("pushd: examples/models/contrib/gptj: No such file or directory"). Drop
their entries from l0_a30.yml, l0_a100.yml and l0_b200.yml (removing the
now-empty a100/b200 triton post_merge blocks so trt-test-db does not choke
on a null tests list) and their orphaned waives.txt lines. The
self-contained Triton unit tests that build no engine are kept
(test_cpp_unit_tests, test_python_bls_unit_tests,
test_python_preproc_unit_tests, test_python_multimodal_encoders_unit_tests,
test_fill_template, test_llmapi_unit_tests); PyTorch-path Triton coverage
lives in test_triton_llmapi.py.

Restore six shared multi-GPU C++ unit tests that NVIDIA#15763 over-waived by
bulk-waiving all of cpp/test_multi_gpu.py: test_mpi_utils,
test_fused_gemm_allreduce, three test_cache_transceiver params, and
test_user_buffer. These run pure gtest binaries from
tests/unit_tests/multi_gpu (mpiUtilsTest, gemmAllReduceTest,
cacheTransceiverTest, userBufferTest) with synthetic inputs and need no
example model or TRT engine; they were running before NVIDIA#15763. They are
re-added as active in l0_dgx_h100.yml. test_cache_transceiver mooncake
keeps its real nvbugs/5838199 waive.

The test .py files are left in place — they still hold surviving
PyTorch-path cases (e.g. test_gpt_oss_20b_lora_torch). The one whole-file
waive (unittest/bindings/test_executor_bindings.py) is kept: every test
there builds a TRT engine via trtllm.Executor, and its removal belongs
with the C++ Executor-bindings removal, not this test-list cleanup.

Scoped to tests/ — no runtime source touched.

Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
BrianLi23 pushed a commit to BrianLi23/TensorRT-LLM that referenced this pull request Jul 9, 2026
Signed-off-by: Wanli Jiang <35160485+Wanli-Jiang@users.noreply.github.com>
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.

5 participants