ci: install torch separately to avoid --index-url replacing PyPI
Some checks failed
CI / lint (push) Successful in 24s
CI / type-check (push) Successful in 3m27s
CI / test (push) Failing after 5m33s
CI / datagen (push) Has been skipped

This commit is contained in:
forbes
2026-02-03 18:35:15 -06:00
parent b088b74dcf
commit f68245e952

View File

@@ -80,10 +80,9 @@ jobs:
- name: Install dependencies
run: |
pip install --cache-dir $PIP_CACHE_DIR \
mypy numpy scipy \
torch --index-url $TORCH_INDEX
pip install --cache-dir $PIP_CACHE_DIR torch --index-url $TORCH_INDEX
pip install --cache-dir $PIP_CACHE_DIR torch-geometric
pip install --cache-dir $PIP_CACHE_DIR mypy numpy scipy
pip install --cache-dir $PIP_CACHE_DIR -e ".[dev]"
- name: Mypy
@@ -111,8 +110,7 @@ jobs:
- name: Install dependencies
run: |
pip install --cache-dir $PIP_CACHE_DIR \
torch --index-url $TORCH_INDEX
pip install --cache-dir $PIP_CACHE_DIR torch --index-url $TORCH_INDEX
pip install --cache-dir $PIP_CACHE_DIR torch-geometric
pip install --cache-dir $PIP_CACHE_DIR -e ".[train,dev]"
@@ -145,8 +143,7 @@ jobs:
- name: Install dependencies
run: |
pip install --cache-dir $PIP_CACHE_DIR \
torch --index-url $TORCH_INDEX
pip install --cache-dir $PIP_CACHE_DIR torch --index-url $TORCH_INDEX
pip install --cache-dir $PIP_CACHE_DIR torch-geometric
pip install --cache-dir $PIP_CACHE_DIR -e ".[train]"