Skip to content

Commit d3a6355

Browse files
Fix mamba cicd installation
Signed-off-by: Keval Morabia <[email protected]>
1 parent 0c8deaa commit d3a6355

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/gpu_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/include:/usr/lib/x86_64-linux-gnu:/usr/local/tensorrt/targets/x86_64-linux-gnu/lib" >> $GITHUB_ENV
7777
echo "PATH=${PATH}:/usr/local/tensorrt/targets/x86_64-linux-gnu/bin" >> $GITHUB_ENV
7878
- name: Run gpu tests
79-
run: pip install tox-current-env && tox -e py312-cuda13-gpu --current-env
79+
run: pip install tox-current-env && tox -e gpu --current-env
8080
gpu-tests-non-pr:
8181
if: ${{ !startsWith(github.ref, 'refs/heads/pull-request/') }}
8282
# Runner list at https://github.com/nv-gha-runners/enterprise-runner-configuration/blob/main/docs/runner-groups.md

.gitlab/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ multi-gpu:
4747
script:
4848
# Use pre-installed packages without a new venv with tox-current-env
4949
- pip install tox-current-env
50-
- tox -e py312-cuda13-gpu --current-env
50+
- tox -e gpu --current-env
5151

5252
##### Example Tests #####
5353
example-torch:

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ commands =
6060
torch_deploy: python -m pytest tests/unit/torch/deploy
6161

6262

63-
########################################################
64-
# GPU test environments (Can be used with --current-env)
65-
########################################################
66-
[testenv:{py310,py311,py312}-cuda13-gpu]
63+
###########################################################
64+
# GPU test environments (Should be used with --current-env)
65+
###########################################################
66+
[testenv:gpu]
6767
setenv =
6868
MAMBA_FORCE_BUILD=TRUE
6969
commands_pre =
@@ -72,8 +72,9 @@ commands_pre =
7272
pip install git+https://github.com/Dao-AILab/fast-hadamard-transform.git
7373

7474
# Install Mamba model dependencies (takes 8-10mins!)
75-
# Install same triton as pytorch-triton in the NGC PyTorch 25.08 docker otherwise Mamba may install an incompatible version
76-
pip install triton==3.3.1
75+
# Skip triton because pytorch-triton is installed in the NGC PyTorch containers
76+
pip install pip-mark-installed
77+
pip install triton
7778
pip install --no-build-isolation git+https://github.com/state-spaces/mamba.git
7879

7980
# Install Eagle-3 test dependencies

0 commit comments

Comments
 (0)