Skip to content

Commit

Permalink
Update docker files (#2102)
Browse files Browse the repository at this point in the history
* update dockerfiles

* upgrade docker base image with cuDNN 9
  • Loading branch information
echarlaix authored Jan 7, 2025
1 parent 40a518b commit 9bfb0e7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ RUN $PYTHON_EXE -m torch_ort.configure

WORKDIR .

CMD ["/bin/bash"]
CMD ["/bin/bash"]
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ RUN pip uninstall nvidia-nccl-cu12 -y

WORKDIR .

CMD ["/bin/bash"]
CMD ["/bin/bash"]
2 changes: 1 addition & 1 deletion tests/exporters/Dockerfile_exporters_gpu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# use version with cudnn 8.5 to match torch==1.13.1 that uses 8.5.0.96
# has Python 3.8.10
FROM nvcr.io/nvidia/tensorrt:22.08-py3
FROM nvcr.io/nvidia/tensorrt:24.02-py3
CMD nvidia-smi

# Ignore interactive questions during `docker build`
Expand Down
2 changes: 1 addition & 1 deletion tests/onnxruntime/docker/Dockerfile_onnxruntime_gpu
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# use version with CUDA 11.8 and TensorRT 8.5.1.7 to match ORT 1.14 requirements
FROM nvcr.io/nvidia/tensorrt:22.12-py3
FROM nvcr.io/nvidia/tensorrt:24.02-py3
CMD nvidia-smi

# Ignore interactive questions during `docker build`
Expand Down
2 changes: 1 addition & 1 deletion tests/onnxruntime/docker/Dockerfile_onnxruntime_trainer
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ RUN pip install /workspace/optimum[tests]

ENV TEST_LEVEL=1
CMD RUN_SLOW=1 pytest -v -rs onnxruntime/training/nightly_test_trainer.py --durations=0
CMD RUN_SLOW=1 pytest -v -rs onnxruntime/training/nightly_test_examples.py --durations=0
CMD RUN_SLOW=1 pytest -v -rs onnxruntime/training/nightly_test_examples.py --durations=0

0 comments on commit 9bfb0e7

Please sign in to comment.