Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cuda images #246

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading