TensorRT-LLMs/tests/integration/test_lists/test-db
Yukun He 0937df2c68
[TRTLLM-10185][feat] AutoTuner Cache: Support cache file lock and merge all ranks into one (#10336)
Signed-off-by: Yukun He <23156053+hyukn@users.noreply.github.com>
2026-01-05 13:44:09 +08:00
..
l0_a10.yml [TRTLLM-10171][fix] Correct attention handling in ModelConfig and KVCacheManager (#10330) 2026-01-04 06:07:30 -05:00
l0_a30.yml
l0_a100.yml
l0_b200.yml
l0_b300.yml
l0_dgx_b200_perf_sanity.yml
l0_dgx_b200.yml [TRTLLM-10185][feat] AutoTuner Cache: Support cache file lock and merge all ranks into one (#10336) 2026-01-05 13:44:09 +08:00
l0_dgx_b300_perf_sanity.yml
l0_dgx_b300.yml
l0_dgx_h100.yml [#10056][chore] AutoDeploy: Enable Nemo SuperV3 accuracy test (#10308) 2026-01-02 11:20:19 +02:00
l0_dgx_h200.yml [https://nvbugs/5779534][fix] fix buffer reuse for CUDA graph attention metadata (#10393) 2026-01-05 09:43:44 +08:00
l0_gb10.yml
l0_gb200_multi_gpus_perf_sanity.yml [None][fix] Decrease Pre Merge Perf Tests (#10390) 2026-01-04 12:21:34 -05:00
l0_gb200_multi_gpus.yml [TRTLLM-9467][fix] Fix PP+CP combination with helix parallelism (#10312) 2026-01-01 13:42:53 -05:00
l0_gb200_multi_nodes_aggr_perf_sanity_2_nodes.yml
l0_gb200_multi_nodes_disagg_perf_sanity_3_nodes.yml
l0_gb200_multi_nodes_disagg_perf_sanity_6_nodes.yml
l0_gb200_multi_nodes_disagg_perf_sanity_8_nodes.yml
l0_gb200_multi_nodes.yml
l0_gb202.yml
l0_gb203.yml
l0_gb300_multi_gpus.yml
l0_gb300.yml
l0_gh200.yml
l0_h100.yml [https://nvbugs/5744427][fix] Make Gemma3 multimodal test fp8 (#10368) 2026-01-01 01:11:34 -05:00
l0_l40s.yml
l0_perf.yml [#8391][chore] added deepseek_r1_distill_qwen_32b AutoDeploy perf test to L0 (#10377) 2026-01-04 20:35:52 +02:00
l0_rtx_pro_6000.yml
l0_sanity_check.yml
README.md

Description

This folder contains test definition which is consumed by trt-test-db tool based on system specifications.

Installation

Install trt-test-db using the following command:

pip3 install --extra-index-url https://urm.nvidia.com/artifactory/api/pypi/sw-tensorrt-pypi/simple --ignore-installed trt-test-db==1.8.5+bc6df7

Test Definition

Test definitions are stored in YAML files located in ${TRT_LLM_ROOT}/tests/integration/test_lists/test-db/. These files define test conditions and the tests to be executed.

Example YAML Structure

version: 0.0.1
l0_e2e:
  - condition:
      terms:
        supports_fp8: true
      ranges:
        system_gpu_count:
          gte: 4
          lte: 4
      wildcards:
        gpu:
          - '*h100*'
        linux_distribution_name: ubuntu*
    tests:
      - examples/test_llama.py::test_llm_llama_v3_1_1node_multi_gpus[llama-3.1-8b-enable_fp8]
      - examples/test_llama.py::test_llm_llama_v3_1_1node_multi_gpus[llama-3.1-70b-enable_fp8]

Generating Test Lists

Use trt-test-db to generate a test list based on the system configuration:

trt-test-db -d /TensorRT-LLM/src/tests/integration/test_lists/test-db \
            --context l0_e2e \
            --test-names \
            --output /TensorRT-LLM/src/l0_e2e.txt \
            --match-exact '{"chip":"ga102gl-a","compute_capability":"8.6","cpu":"x86_64","gpu":"A10","gpu_memory":"23028.0","host_mem_available_mib":"989937","host_mem_total_mib":"1031949","is_aarch64":false,"is_linux":true,"linux_distribution_name":"ubuntu","linux_version":"22.04","supports_fp8":false,"supports_int8":true,"supports_tf32":true,"sysname":"Linux","system_gpu_count":"1",...}'

This command generates a test list file (l0_e2e.txt) based on the specified context and system configuration.

Running Tests

Execute the tests using pytest with the generated test list:

pytest -v --test-list=/TensorRT-LLM/src/l0_e2e.txt --output-dir=/tmp/logs

This command runs the tests specified in the test list and outputs the results to the specified directory.

Additional Information

  • The --context parameter in the trt-test-db command specifies which context to search in the YAML files.
  • The --match-exact parameter provides system information used to filter tests based on the conditions defined in the YAML files.
  • Modify the YAML files to add or update test conditions and test cases as needed. For more detailed information on trt-test-db and pytest usage, refer to their respective documentation.