Skip to content

Commit

Permalink
update Dockerfile to force CUDA pytorch
Browse files Browse the repository at this point in the history
  • Loading branch information
Fmstrat committed Apr 12, 2024
1 parent 1a3b014 commit 61d88a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SHELL ["/bin/bash", "--login", "-c"]

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

0 comments on commit 61d88a6

Please sign in to comment.