Skip to content

Commit 69fa9c7

Browse files
committed
cpu only
1 parent be908d5 commit 69fa9c7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docker/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ COPY .. .
2121
# ---------- extra Python deps -----------------------------------------------------
2222
# CPU-only PyTorch (wheels from CPU index)
2323
RUN pip install --no-cache-dir \
24-
torch==2.7.0 torchvision==0.22.0 torchaudio==2.7.0 \
24+
torch==2.7.0 torchvision==0.22.0\
2525
--index-url https://download.pytorch.org/whl/cpu
2626

27+
# CPU-only PyG (and its C/C++ extensions)
28+
RUN pip install --no-cache-dir \
29+
torch-geometric \
30+
-f https://data.pyg.org/whl/torch-2.7.0+cpu.html
31+
32+
2733
COPY docker/requirements.txt /tmp/
2834
RUN pip install --no-cache-dir -r /tmp/requirements.txt
2935

docker/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ scikit-image==0.25.2
1818
scikit-learn==1.6.1
1919
spacy==3.8.6
2020
tifffile==2025.5.10
21-
torch_geometric==2.6.1
2221
torchmetrics==1.6.1
2322
tqdm==4.67.1
2423
transformers==4.51.3

0 commit comments

Comments
 (0)