File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ RUN cd /Visionatrix && \
3131 ARCH=$(uname -m) && \
3232 if [ "$ARCH" = "aarch64" ]; then \
3333 echo "Installing PyTorch for ARM64" ; \
34- venv/bin/python -m pip install torch torchvision torchaudio; \
34+ venv/bin/python -m pip install torch==2.4.1 torchvision torchaudio; \
3535 elif [ "$BUILD_TYPE" = "rocm" ]; then \
36- venv/bin/python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.1; \
36+ venv/bin/python -m pip install torch==2.4.1 torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.1; \
3737 elif [ "$BUILD_TYPE" = "cpu" ]; then \
38- venv/bin/python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu; \
38+ venv/bin/python -m pip install torch==2.4.1 torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu; \
3939 else \
40- venv/bin/python -m pip install torch torchvision torchaudio; \
40+ venv/bin/python -m pip install torch==2.4.1 torchvision torchaudio; \
4141 fi && \
4242 rm -rf ~/.cache/pip
4343
You can’t perform that action at this time.
0 commit comments