Skip to content

Commit 26575aa

Browse files
committed
fix(ci): use the cpu version of torch in static analysis
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent 841cc69 commit 26575aa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ jobs:
7272
- name: Install dependencies
7373
run: |
7474
pip install --upgrade pip setuptools wheel
75+
# use the cpu version of torch to not run out of space
76+
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
77+
sed -i '/torch(vision)?/d' requirements.txt
7578
pip install -r requirements_dev.txt
7679
7780
- name: Static analysis with pyright

0 commit comments

Comments
 (0)