Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update torch versions, CI #75

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/code-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9, "3.10"]
torch-version: ["1.13", "2.1.0", "2.2.0"]
runs-on: ubuntu-latest

steps:
Expand All @@ -40,6 +41,10 @@ jobs:
path: ${{ github.workspace }}/.venv
key: ${{ matrix.os }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: ${{ matrix.os }}-
- name: Install PyTorch
if: steps.cache-dependencies.cache-hit != 'true'
run: |
conda install pytorch==${{matrix.torch-version}} torchvision torchaudio cpuonly -c pytorch
- name: Install Workshop
if: steps.cache-dependencies.cache-hit != 'true'
run: |
Expand All @@ -49,8 +54,6 @@ jobs:
poetry check --no-interaction
poetry config virtualenvs.in-project true
poetry install --no-interaction --without docs
poetry run install_pyg_workshop
poe install-torchdrug

- name: Run tests
run: |
Expand Down
Loading
Loading