Skip to content

Commit 53179ec

Browse files
authored
LCORE-569: Fix installing cpu version of pytorch, drop LD_LIBRARY_PATH for gpu image (#34)
* LCORE-569: Fix installing the right pytorch cpu version * LCORE-569: For gpu image drop LD_LIBRARY_PATH ooverride
1 parent 754e6f9 commit 53179ec

File tree

3 files changed

+46
-177
lines changed

3 files changed

+46
-177
lines changed

Containerfile-gpu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ RUN dnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs \
66
python3.12 python3.12-devel python3.12-pip libcudnn9 libnccl libcusparselt0 && \
77
dnf clean all
88
RUN ln -sf /usr/bin/python3.12 /usr/bin/python
9-
ENV LD_LIBRARY_PATH=/usr/local/cuda-12/compat:$LD_LIBRARY_PATH
109

1110
# Install asciidoctor
1211
RUN dnf install -y rubygems && \

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ name = "pytorch-cpu"
5858
url = "https://download.pytorch.org/whl/cpu"
5959
explicit = true
6060
[tool.uv.sources]
61-
torchvision = [{ index = "pytorch-cpu" }]
61+
torch = [{ index = "pytorch-cpu" }]
6262

6363
[dependency-groups]
6464
dev = [

uv.lock

Lines changed: 45 additions & 175 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)