Merge pull request #760 from Fmstrat/docker-fix

Update Dockerfile to enable CUDA pytorch
This commit is contained in:
manmay nakhashi 2024-05-09 18:03:35 +05:30 committed by GitHub
commit 572bdf3d24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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