Skip to content

Commit f0bd99c

Browse files
Upgrade Dev containers for CICD to latest
Signed-off-by: Keval Morabia <28916987+kevalmorabia97@users.noreply.github.com>
1 parent ae69d5d commit f0bd99c

File tree

5 files changed

+29
-23
lines changed

5 files changed

+29
-23
lines changed

.github/workflows/example_tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
uses: ./.github/workflows/_example_tests_runner.yml
7171
secrets: inherit
7272
with:
73-
docker_image: ${{ matrix.docker_image || 'nvcr.io/nvidia/pytorch:25.06-py3' }}
73+
docker_image: ${{ matrix.docker_image || 'nvcr.io/nvidia/pytorch:26.01-py3' }}
7474
example: ${{ matrix.example }}
7575
pip_install_extras: "[hf,dev-test]"
7676
runner: linux-amd64-gpu-l4-latest-1
@@ -87,7 +87,7 @@ jobs:
8787
uses: ./.github/workflows/_example_tests_runner.yml
8888
secrets: inherit
8989
with:
90-
docker_image: ${{ matrix.docker_image || 'nvcr.io/nvidia/pytorch:25.06-py3' }}
90+
docker_image: ${{ matrix.docker_image || 'nvcr.io/nvidia/pytorch:26.01-py3' }}
9191
example: ${{ matrix.example }}
9292
pip_install_extras: "[hf,dev-test]"
9393
runner: linux-amd64-gpu-h100-latest-2
@@ -103,7 +103,7 @@ jobs:
103103
uses: ./.github/workflows/_example_tests_runner.yml
104104
secrets: inherit
105105
with:
106-
docker_image: "nvcr.io/nvidia/tensorrt-llm/release:1.2.0rc4"
106+
docker_image: "nvcr.io/nvidia/tensorrt-llm/release:1.2.0rc6.post3"
107107
example: ${{ matrix.example }}
108108
pip_install_extras: "[hf,dev-test]"
109109
runner: linux-amd64-gpu-h100-latest-1
@@ -117,7 +117,7 @@ jobs:
117117
uses: ./.github/workflows/_example_tests_runner.yml
118118
secrets: inherit
119119
with:
120-
docker_image: "nvcr.io/nvidia/tensorrt-llm/release:1.2.0rc4"
120+
docker_image: "nvcr.io/nvidia/tensorrt-llm/release:1.2.0rc6.post3"
121121
example: ${{ matrix.example }}
122122
pip_install_extras: "[hf,dev-test]"
123123
runner: linux-amd64-gpu-h100-latest-2
@@ -133,7 +133,7 @@ jobs:
133133
uses: ./.github/workflows/_example_tests_runner.yml
134134
secrets: inherit
135135
with:
136-
docker_image: "nvcr.io/nvidia/tensorrt:25.08-py3"
136+
docker_image: "nvcr.io/nvidia/tensorrt:26.01-py3"
137137
example: ${{ matrix.example }}
138138
pip_install_extras: "[all,dev-test]"
139139
runner: linux-amd64-gpu-l4-latest-1
@@ -147,7 +147,7 @@ jobs:
147147
uses: ./.github/workflows/_example_tests_runner.yml
148148
secrets: inherit
149149
with:
150-
docker_image: "nvcr.io/nvidia/tensorrt:25.08-py3"
150+
docker_image: "nvcr.io/nvidia/tensorrt:26.01-py3"
151151
example: ${{ matrix.example }}
152152
pip_install_extras: "[all,dev-test]"
153153
runner: linux-amd64-gpu-l4-latest-1

.github/workflows/gpu_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ jobs:
6363
fail-fast: false
6464
matrix:
6565
include:
66-
- example: py312-cuda12-gpu
66+
- example: py312-cuda13-gpu
6767
timeout: 90
68-
- example: py312-cuda12-gpu-megatron
68+
- example: py312-cuda13-gpu-megatron
6969
timeout: 120
7070
runs-on: linux-amd64-gpu-l4-latest-1
7171
timeout-minutes: ${{ matrix.timeout }}
7272
container: &gpu_container
73-
image: nvcr.io/nvidia/pytorch:25.06-py3
73+
image: nvcr.io/nvidia/pytorch:26.01-py3
7474
env:
7575
GIT_DEPTH: 1000 # For correct version for tests/gpu/torch/quantization/plugins/test_megatron.py
7676
PIP_CONSTRAINT: "" # Disable pip constraint for upgrading packages

.github/workflows/unit_tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/checkout@v6
3838
- uses: ./.github/actions/ubuntu-setup
3939
- name: Run unit tests
40-
run: pip install tox && COV_ARGS="--cov" tox -e py312-torch29-tf_latest-unit
40+
run: pip install tox && COV_ARGS="--cov" tox -e py312-torch210-tf_latest-unit
4141
- name: Upload coverage reports to Codecov
4242
uses: codecov/codecov-action@v5
4343
with:
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
python-version: "3.12"
5757
- name: Run unit tests (without coverage)
58-
run: pip install tox && tox -e py312-torch29-tf_latest-unit
58+
run: pip install tox && tox -e py312-torch210-tf_latest-unit
5959
multi-py:
6060
if: github.event_name == 'pull_request'
6161
needs: [linux]
@@ -70,15 +70,15 @@ jobs:
7070
with:
7171
python-version: "3.${{ matrix.py }}"
7272
- name: Run unit tests
73-
run: pip install tox && tox -e py3${{ matrix.py }}-torch29-tf_latest-unit
73+
run: pip install tox && tox -e py3${{ matrix.py }}-torch210-tf_latest-unit
7474
multi-torch:
7575
if: github.event_name == 'pull_request'
7676
needs: [linux]
7777
runs-on: ubuntu-latest
7878
timeout-minutes: 30
7979
strategy:
8080
matrix:
81-
torch: [26, 27, 28]
81+
torch: [26, 27, 28, 29]
8282
steps:
8383
- uses: actions/checkout@v6
8484
- uses: ./.github/actions/ubuntu-setup
@@ -96,7 +96,7 @@ jobs:
9696
- uses: actions/checkout@v6
9797
- uses: ./.github/actions/ubuntu-setup
9898
- name: Run unit tests
99-
run: pip install tox && tox -e py312-torch29-tf_${{ matrix.tf }}-unit
99+
run: pip install tox && tox -e py312-torch210-tf_${{ matrix.tf }}-unit
100100
partial-install:
101101
if: github.event_name == 'pull_request'
102102
needs: [linux]

docs/source/getting_started/_installation_for_Linux.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Latest Model Optimizer (``nvidia-modelopt``) currently has the following system
1414
+-------------------------+-----------------------------+
1515
| Python | >=3.10,<3.13 |
1616
+-------------------------+-----------------------------+
17-
| CUDA | >=12.0 |
17+
| CUDA | 12.x, 13.x |
1818
+-------------------------+-----------------------------+
1919
| PyTorch | >=2.6 |
2020
+-------------------------+-----------------------------+
21-
| TensorRT-LLM (Optional) | 1.2.0rc4 |
21+
| TensorRT-LLM (Optional) | >=1.0 |
2222
+-------------------------+-----------------------------+
2323
| ONNX Runtime (Optional) | 1.22 |
2424
+-------------------------+-----------------------------+
@@ -126,6 +126,10 @@ Additionally, we support installing dependencies for following 3rd-party package
126126
* - Huggingface (``transformers``, ``diffusers``, etc.)
127127
- ``[hf]``
128128

129+
**CUDA specific dependencies**
130+
131+
* By default, ``cupy-cuda12x`` is installed for INT4 ONNX quantization. If you have CUDA 13, you need to run ``pip uninstall -y cupy-cuda12x`` and ``pip install cupy-cuda13x`` after installing ``nvidia-modelopt[onnx]``.
132+
129133
**Accelerated Quantization with Triton Kernels**
130134

131135
ModelOpt includes optimized quantization kernels implemented with Triton language that accelerate quantization

tox.ini

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
[tox]
22
envlist=
33
pre-commit-all
4-
py312-torch28-tf_latest-unit
5-
py312-cuda12-gpu
4+
py312-torch210-tf_latest-unit
5+
py312-cuda13-gpu
6+
py312-cuda13-gpu-megatron
67
skipsdist = True
78
toxworkdir = /tmp/{env:USER}-modelopt-tox
89

910

1011
############################
1112
# CPU Unit test environments
1213
############################
13-
[testenv:{py310,py311,py312}-torch{26,27,28,29}-tf_{min,latest}-unit]
14+
[testenv:{py310,py311,py312}-torch{26,27,28,29,210}-tf_{min,latest}-unit]
1415
deps =
1516
# torch version auto-selected based on torchvision version
1617
torch26: torchvision~=0.21.0
1718
torch27: torchvision~=0.22.0
1819
torch28: torchvision~=0.23.0
1920
torch29: torchvision~=0.24.0
21+
torch210: torchvision~=0.25.0
2022

2123
# Install megatron-core for special unit tests
2224
megatron-core
@@ -36,8 +38,8 @@ commands =
3638
allowlist_externals =
3739
bash, rm
3840
deps =
39-
# Make sure torch 2.9 is used
40-
torchvision~=0.24.0
41+
# Make sure torch 2.10 is used
42+
torchvision~=0.25.0
4143

4244
# ONNX unit tests heavily rely on torch / torchvision
4345
onnx: .[onnx,dev-test]
@@ -57,7 +59,7 @@ commands =
5759
###########################################################
5860
# GPU test environments (Should be used with --current-env)
5961
###########################################################
60-
[testenv:{py310,py311,py312}-cuda12-gpu]
62+
[testenv:{py310,py311,py312}-cuda13-gpu]
6163
commands_pre =
6264
# Install deps here so that it gets installed even in --current-env
6365
pip install git+https://github.com/Dao-AILab/fast-hadamard-transform.git
@@ -67,7 +69,7 @@ commands =
6769
# Coverage fails with "Can't combine line data with arc data" error so not using "--cov"
6870
python -m pytest tests/gpu
6971

70-
[testenv:{py310,py311,py312}-cuda12-gpu-megatron]
72+
[testenv:{py310,py311,py312}-cuda13-gpu-megatron]
7173
commands_pre =
7274
# Install deps here so that it gets installed even in --current-env
7375
pip install -U megatron-core

0 commit comments

Comments
 (0)