Skip to content

Commit 5ce7b4a

Browse files
author
Mark Saroufim
committed
Fix CUDA version mismatch in Helion Docker image
Downgrade CUDA toolkit from 13.1 to 13.0 to match the PyTorch cu130 wheel index, and drop the torch==2.10.0 pin which was causing uv to fall back to a CUDA 12.8 wheel.
1 parent 201d25b commit 5ce7b4a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docker/helion.Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM ghcr.io/actions/actions-runner:latest
22

3-
# Install CUDA 13.1 toolkit
3+
# Install CUDA 13.0 toolkit (matches PyTorch cu130 wheels)
44
RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends \
55
ca-certificates \
66
curl \
@@ -12,11 +12,11 @@ RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends \
1212
&& rm cuda-keyring_1.1-1_all.deb \
1313
&& sudo apt-get update \
1414
&& sudo apt-get install -y --no-install-recommends \
15-
cuda-toolkit-13-1 \
15+
cuda-toolkit-13-0 \
1616
&& sudo rm -rf /var/lib/apt/lists/*
1717

18-
ENV PATH="/usr/local/cuda-13.1/bin:${PATH}"
19-
ENV LD_LIBRARY_PATH="/usr/local/cuda-13.1/lib64:${LD_LIBRARY_PATH}"
18+
ENV PATH="/usr/local/cuda-13.0/bin:${PATH}"
19+
ENV LD_LIBRARY_PATH="/usr/local/cuda-13.0/lib64:${LD_LIBRARY_PATH}"
2020

2121
# Install Python 3.13
2222
RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends \
@@ -47,7 +47,7 @@ RUN sudo uv pip install --system \
4747

4848
# PyTorch (CUDA 13.0 wheels)
4949
RUN sudo uv pip install --system \
50-
torch==2.10.0 \
50+
torch \
5151
--index-url https://download.pytorch.org/whl/cu130
5252

5353
# Helion

0 commit comments

Comments
 (0)