Skip to content

Commit 61d88a6

Browse files
committed
update Dockerfile to force CUDA pytorch
1 parent 1a3b014 commit 61d88a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ SHELL ["/bin/bash", "--login", "-c"]
2828

2929
RUN conda create --name tortoise python=3.9 numba inflect \
3030
&& conda activate tortoise \
31-
&& conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia \
31+
&& conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 pytorch-cuda=12.1 -c pytorch -c nvidia \
3232
&& conda install transformers=4.31.0 \
3333
&& cd /app \
3434
&& python setup.py install

0 commit comments

Comments
 (0)