File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,9 @@ jobs:
215215 run : |
216216 cd context_chat_backend
217217 pip install --upgrade pip setuptools wheel
218+ # use the cpu version of torch to not run out of space
219+ pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
220+ sed -i '/torch(vision)?/d' requirements.txt
218221 pip install -r requirements.txt
219222 cp example.env .env
220223 echo "NEXTCLOUD_URL=http://localhost:8080" >> .env
@@ -466,6 +469,9 @@ jobs:
466469 run : |
467470 cd context_chat_backend
468471 pip install --upgrade pip setuptools wheel
472+ # use the cpu version of torch to not run out of space
473+ pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
474+ sed -i '/torch(vision)?/d' requirements.txt
469475 pip install -r requirements.txt
470476 cp example.env .env
471477 echo "NEXTCLOUD_URL=http://localhost:8080" >> .env
@@ -771,6 +777,9 @@ jobs:
771777 run : |
772778 cd context_chat_backend
773779 pip install --upgrade pip setuptools wheel
780+ # use the cpu version of torch to not run out of space
781+ pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
782+ sed -i '/torch(vision)?/d' requirements.txt
774783 pip install -r requirements.txt
775784 cp example.env .env
776785 echo "NEXTCLOUD_URL=http://localhost:8080" >> .env
You can’t perform that action at this time.
0 commit comments