|
13 | 13 | example-onnx-bash: |
14 | 14 | extends: .tests-default |
15 | 15 | timeout: 90m |
| 16 | + image: nvcr.io/nvidia/pytorch:25.08-py3 |
| 17 | + variables: |
| 18 | + GIT_DEPTH: 1000 # For correct version for tests/gpu/torch/quantization/plugins/test_megatron.py |
| 19 | + tags: [docker, linux, 2-gpu] |
| 20 | + before_script: |
| 21 | + # Add libcudnn*.so and libnv*.so to path |
| 22 | + - export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/include:/usr/lib/x86_64-linux-gnu" |
| 23 | + # Install git-lfs for Daring-Anteater dataset |
| 24 | + - apt-get update && apt-get install -y git-lfs |
| 25 | + - git lfs install --system |
| 26 | + |
| 27 | +multi-gpu: |
| 28 | + extends: .multi-gpu-tests-default |
| 29 | + script: |
| 30 | + # Use pre-installed packages without a new venv with tox-current-env |
| 31 | + - pip install tox-current-env |
| 32 | + - tox -e py312-cuda12-gpu --current-env |
| 33 | + |
| 34 | +##### Example Tests ##### |
| 35 | +example-torch: |
| 36 | + extends: .multi-gpu-tests-default |
| 37 | + timeout: 30m |
| 38 | + parallel: |
| 39 | + matrix: |
| 40 | + - EXAMPLE: [llm_distill, llm_qat, llm_sparsity, speculative_decoding] |
| 41 | + script: |
| 42 | + - pip install ".[hf,dev-test]" |
| 43 | + - find examples/$EXAMPLE -name "requirements.txt" | while read req_file; do pip install -r "$req_file" || exit 1; done |
| 44 | + - pytest -s tests/examples/$EXAMPLE |
| 45 | + |
| 46 | +example-trtllm: |
| 47 | + extends: example-torch |
| 48 | + timeout: 60m |
| 49 | + image: nvcr.io/nvidia/tensorrt-llm/release:1.1.0rc2.post2 |
| 50 | + tags: [docker, linux, 2-gpu, sm>=89] |
| 51 | + parallel: |
| 52 | + matrix: |
| 53 | + - EXAMPLE: [llm_autodeploy, llm_eval, llm_ptq, vlm_ptq] |
| 54 | + |
| 55 | +example-onnx: |
| 56 | + extends: example-torch |
16 | 57 | image: nvcr.io/nvidia/tensorrt:25.08-py3 |
17 | 58 | tags: [docker, linux, 2-gpu, sm>=89] |
18 | 59 | parallel: |
|
0 commit comments