Skip to content

Commit 7b4b344

Browse files
authored
Merge branch 'master' into models/polynormer
2 parents 9692ce1 + ffdec32 commit 7b4b344

File tree

19 files changed

+52
-30
lines changed

19 files changed

+52
-30
lines changed

.github/actions/setup/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ runs:
4848
if: ${{ inputs.torch-version == 'nightly' }}
4949
run: |
5050
pip install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/${{ inputs.cuda-version }}
51-
python -c "import torch; print('PyTorch:', torch.__version__)"
52-
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
53-
python -c "import torch; print('CUDA:', torch.version.cuda)"
5451
shell: bash
5552

5653
- name: Install pyg-lib

.github/workflows/building_nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
4040
- name: Build package
4141
run: |
42-
pip install --upgrade build
42+
pip install build
4343
python -m build
4444
4545
- name: Publish package

.github/workflows/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: Install main package
2222
run: |
23-
pip install .[benchmark]
23+
pip install ".[benchmark]"
2424
2525
- name: Run GCN on Cora
2626
run: |

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
if: steps.changed-files-specific.outputs.only_changed != 'true'
4646
run: |
4747
pip install mypy
48-
pip install -e .[full,test]
48+
pip install -e ".[full,test]"
4949
5050
- name: Check type hints
5151
if: steps.changed-files-specific.outputs.only_changed != 'true'

.github/workflows/testing_dist.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ jobs:
3838
- name: Install main package
3939
if: steps.changed-files-specific.outputs.any_changed == 'true'
4040
run: |
41-
pip install -e .[test]
41+
pip install -e ".[test]"
42+
python -c "import torch; print('PyTorch:', torch.__version__)"
43+
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
44+
python -c "import torch; print('CUDA:', torch.version.cuda)"
4245
4346
- name: Run tests
4447
if: steps.changed-files-specific.outputs.any_changed == 'true'

.github/workflows/testing_full.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ jobs:
7171

7272
- name: Install main package
7373
run: |
74-
echo "torch==${{ matrix.torch-version }}" > requirements-constraint.txt
75-
pip install -e .[full,test] --constraint requirements-constraint.txt
74+
pip install -e ".[full,test]"
75+
python -c "import torch; print('PyTorch:', torch.__version__)"
76+
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
77+
python -c "import torch; print('CUDA:', torch.version.cuda)"
7678
shell: bash
7779

7880
- name: Run tests

.github/workflows/testing_full_gpu.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ jobs:
2626
2727
- name: Install main package
2828
run: |
29-
pip install -e .[full,test]
29+
pip install -e ".[full,test]"
30+
python -c "import torch; print('PyTorch:', torch.__version__)"
31+
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
32+
python -c "import torch; print('CUDA:', torch.version.cuda)"
3033
3134
- name: Run tests
3235
timeout-minutes: 20

.github/workflows/testing_latest.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,18 @@ jobs:
5858
- name: Install main package
5959
if: ${{ steps.changed-files-specific.outputs.only_changed != 'true' && runner.os == 'Windows' }}
6060
run: |
61-
pip install -e .[test]
61+
pip install -e ".[test]"
62+
python -c "import torch; print('PyTorch:', torch.__version__)"
63+
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
64+
python -c "import torch; print('CUDA:', torch.version.cuda)"
6265
6366
- name: Install full main package
6467
if: ${{ steps.changed-files-specific.outputs.only_changed != 'true' && runner.os != 'Windows' }}
6568
run: |
66-
pip install -e .[full,test]
69+
pip install -e ".[full,test]"
70+
python -c "import torch; print('PyTorch:', torch.__version__)"
71+
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
72+
python -c "import torch; print('CUDA:', torch.version.cuda)"
6773
6874
- name: Run tests
6975
if: steps.changed-files-specific.outputs.only_changed != 'true'

.github/workflows/testing_minimal.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ jobs:
4646
- name: Install main package
4747
if: steps.changed-files-specific.outputs.only_changed != 'true'
4848
run: |
49-
pip install -e .[test]
49+
pip install -e ".[test]"
50+
python -c "import torch; print('PyTorch:', torch.__version__)"
51+
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
52+
python -c "import torch; print('CUDA:', torch.version.cuda)"
5053
5154
- name: Run tests
5255
if: steps.changed-files-specific.outputs.only_changed != 'true'

.github/workflows/testing_nightly.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ jobs:
5050
- name: Install main package
5151
if: steps.changed-files-specific.outputs.only_changed != 'true'
5252
run: |
53-
pip install -e .[test]
53+
pip install -e ".[test]"
54+
python -c "import torch; print('PyTorch:', torch.__version__)"
55+
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
56+
python -c "import torch; print('CUDA:', torch.version.cuda)"
5457
5558
- name: Run tests
5659
if: steps.changed-files-specific.outputs.only_changed != 'true'

0 commit comments

Comments
 (0)