File tree Expand file tree Collapse file tree 3 files changed +1645
-1556
lines changed
Expand file tree Collapse file tree 3 files changed +1645
-1556
lines changed Original file line number Diff line number Diff line change 11# Base image with CUDA and cuDNN support
2- FROM nvidia/cuda:12.2.2-cudnn8 -devel-ubuntu22.04
2+ FROM nvidia/cuda:12.4.1-cudnn -devel-ubuntu22.04
33
44ARG DEBIAN_FRONTEND=noninteractive
55
Original file line number Diff line number Diff line change @@ -62,6 +62,23 @@ vbd = [
6262default-groups = " all"
6363cache-dir = " ./.uv_cache"
6464
65+ # Use the CUDA index for torch on Linux
66+ [[tool .uv .index ]]
67+ name = " pytorch-cuda"
68+ url = " https://download.pytorch.org/whl/cu124"
69+ explicit = true
70+
71+ [[tool .uv .index ]]
72+ name = " pytorch-cpu"
73+ url = " https://download.pytorch.org/whl/cpu"
74+ explicit = true
75+
76+ [tool .uv .sources ]
77+ torch = [
78+ { index = " pytorch-cuda" , marker = " platform_system == 'Linux'" },
79+ { index = " pytorch-cpu" , marker = " platform_system != 'Linux'" }
80+ ]
81+
6582[tool .madrona .packages .madrona_gpudrive ]
6683ext-only = true
6784ext-out-dir = " build"
You can’t perform that action at this time.
0 commit comments