TensorRT-LLMs/tests/integration/test_lists/test-db
2025-11-18 19:20:07 +08:00
..
l0_a10.yml [https://nvbugs/5628204][fix] Stop token IDs - fast path optimization for single stop token IDs only (#9014) 2025-11-13 14:17:20 +01:00
l0_a30.yml [https://nvbugs/5572320][fix] Ported test_ad_trtllm_bench.py from main (#8671) 2025-10-28 09:41:32 +02:00
l0_a100.yml [None][chore] move some cases from post-merge to pre-merge to detect errors in early stage (#7699) 2025-09-15 15:37:58 +08:00
l0_b200.yml [https://nvbugs/5572320][fix] Ported test_ad_trtllm_bench.py from main (#8671) 2025-10-28 09:41:32 +02:00
l0_b300.yml [TRTLLM-8971][infra] Cherry-pick for Update gpu key for B300/GB300 (#8724) (#8796) 2025-10-30 06:12:16 -07:00
l0_dgx_b200.yml [https://nvbugs/5608489][fix] Fix output unpack issues for Llama3/4 NVFP4 models. (#8679) 2025-10-28 14:21:47 +08:00
l0_dgx_b300.yml [TRTLLM-8971][infra] Cherry-pick for Update gpu key for B300/GB300 (#8724) (#8796) 2025-10-30 06:12:16 -07:00
l0_dgx_h100.yml [https://nvbugs/5437384][test] fix trtllm-llmapi-launch multi tests with single launch (#8397) 2025-10-16 21:14:43 -07:00
l0_dgx_h200.yml [None][ci] move some test cases of DGX H100 to post merge (#7569) 2025-09-06 01:03:38 -04:00
l0_gb200_multi_gpus.yml [https://nvbugs/5444687][fix] Cherrypick online EPLB CI fix from main to release 1.1 (#8854) 2025-11-03 09:17:51 +08:00
l0_gb200_multi_nodes.yml [https://nvbugs/5606266][test] move qwen3 multi-node test to the qa list (#8908) 2025-11-04 02:12:02 -08:00
l0_gb202.yml [None][ci] move unittests to sub-directories (#6635) 2025-08-20 05:42:22 -04:00
l0_gb203.yml [TRTLLM-5277] chore: refine llmapi examples for 1.0 (part1) (#5431) 2025-07-01 19:06:41 +08:00
l0_gb300_multi_gpus.yml [TRTLLM-8971][infra] Cherry-pick for Update gpu key for B300/GB300 (#8724) (#8796) 2025-10-30 06:12:16 -07:00
l0_gb300.yml [TRTLLM-8971][infra] Cherry-pick for Update gpu key for B300/GB300 (#8724) (#8796) 2025-10-30 06:12:16 -07:00
l0_gh200.yml [None][test] Update llm_models_root to improve path handling on BareMetal environment (#7876) 2025-09-24 17:35:57 +08:00
l0_h100.yml [None][fix] Bypass key-word matching for multimodal tests (#9170) 2025-11-18 10:33:07 +08:00
l0_l40s.yml [TRTLLM-8650][fix] beam search request validation (#8433) 2025-10-21 10:50:27 +02:00
l0_perf.yml CI: Performance regression tests update (#3531) 2025-06-01 09:47:55 +03:00
l0_rtx_pro_6000.yml [https://nvbugs/5444687][fix] Cherrypick online EPLB CI fix from main to release 1.1 (#8854) 2025-11-03 09:17:51 +08:00
l0_sanity_check.yml [https://nvbugs/5461796][fix] Unwaive and extend time for test_llmapi_speculative_decoding_mtp (#9092) 2025-11-18 19:20:07 +08:00
README.md Update (#2978) 2025-03-23 16:39:35 +08:00

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.