Skip to content

Commit

Permalink
Update cuda images (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil authored Aug 19, 2024
1 parent 216172c commit bca546a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_cli_cuda_onnxruntime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

env:
IMAGE: ghcr.io/huggingface/optimum-benchmark:latest-cuda-ort
IMAGE: ghcr.io/huggingface/optimum-benchmark:latest-cuda

jobs:
run_cli_cuda_onnxruntime_tests:
Expand Down
7 changes: 3 additions & 4 deletions docker/cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG CUDNN_VERSION=8
ARG CUDA_VERSION=12.1.1
ARG CUDA_VERSION=12.4.1
ARG UBUNTU_VERSION=22.04

FROM nvidia/cuda:${CUDA_VERSION}-cudnn${CUDNN_VERSION}-devel-ubuntu${UBUNTU_VERSION}
FROM nvidia/cuda:${CUDA_VERSION}-cudnn-devel-ubuntu${UBUNTU_VERSION}

# Install necessary packages
ENV DEBIAN_FRONTEND noninteractive
Expand All @@ -28,7 +27,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pip install --no-cache-dir --upgrade pip setuptools wheel

# Install PyTorch
ARG TORCH_CUDA=cu121
ARG TORCH_CUDA=cu124
ARG TORCH_VERSION=stable

RUN if [ "${TORCH_VERSION}" = "stable" ]; then \
Expand Down

0 comments on commit bca546a

Please sign in to comment.