Skip to content

Commit 5be6d03

Browse files
committed
version up
1 parent 2f3ecc3 commit 5be6d03

19 files changed

+59
-28
lines changed

.github/workflows/building-conda.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: [ubuntu-16.04, macos-10.15, windows-latest]
13+
os: [ubuntu-18.04, macos-10.15, windows-latest]
1414
python-version: [3.6, 3.7, 3.8, 3.9]
1515
torch-version: [1.8.0, 1.9.0]
1616
cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
@@ -66,23 +66,32 @@ jobs:
6666
- name: Build Conda package for CPU
6767
if: ${{ matrix.cuda-version == 'cpu' }}
6868
run: |
69-
FORCE_CUDA=0 ./conda/pytorch-sparse/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
69+
FORCE_CUDA=0 TORCH_CUDA_ARCH_LIST=0 ./conda/pytorch-sparse/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
7070
shell:
7171
bash -l {0}
7272

7373
- name: Build Conda package for GPU
7474
if: ${{ matrix.cuda-version != 'cpu' }}
7575
run: |
7676
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
77-
FORCE_CUDA=1 ./conda/pytorch-sparse/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
77+
./conda/pytorch-sparse/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
7878
shell:
7979
bash -l {0}
8080

81-
- name: Publish Conda package
81+
- name: Publish Conda package on organization channel
8282
run: |
8383
conda install anaconda-client --yes
8484
anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2
8585
env:
86-
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
86+
ANACONDA_API_TOKEN: ${{ secrets.PYG_ANACONDA_TOKEN }}
87+
shell:
88+
bash -l {0}
89+
90+
- name: Publish Conda package on personal channel
91+
run: |
92+
conda install anaconda-client --yes
93+
anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2
94+
env:
95+
ANACONDA_API_TOKEN: ${{ secrets.RUSTY1S_ANACONDA_TOKEN }}
8796
shell:
8897
bash -l {0}

.github/workflows/building.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: [ubuntu-16.04, macos-10.15, windows-latest]
13+
os: [ubuntu-18.04, macos-10.15, windows-latest]
1414
python-version: [3.6, 3.7, 3.8, 3.9]
1515
torch-version: [1.8.0, 1.9.0]
1616
cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
@@ -33,6 +33,11 @@ jobs:
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535

36+
- name: Free up disk space
37+
if: ${{ runner.os == 'Linux' }}
38+
run: |
39+
sudo rm -rf /usr/share/dotnet
40+
3641
- name: Install CUDA ${{ matrix.cuda-version }}
3742
if: ${{ matrix.cuda-version != 'cpu' }}
3843
run: |
@@ -47,7 +52,7 @@ jobs:
4752
4853
- name: Install torch-scatter
4954
run: |
50-
pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-${{ matrix.torch-version }}+${{ matrix.cuda-version }}.html
55+
pip install torch-scatter -f https://data.pyg.org/whl/torch-${{ matrix.torch-version }}+${{ matrix.cuda-version }}.html
5156
5257
- name: Install METIS
5358
if: ${{ runner.os != 'Windows' }}
@@ -70,7 +75,7 @@ jobs:
7075
if: ${{ matrix.cuda-version != 'cpu' }}
7176
run: |
7277
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
73-
FORCE_CUDA=1 WITH_METIS=1 TORCH_CUDA_ARCH_LIST="5.2 6.0 6.1 7.0 7.5 8.0 8.6+PTX" pip install -e .
78+
WITH_METIS=1 pip install -e .
7479
shell:
7580
bash
7681

@@ -84,8 +89,8 @@ jobs:
8489
with:
8590
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
8691
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
87-
aws-region: us-east-1
92+
aws-region: us-west-1
8893

8994
- name: Upload wheel
9095
run: |
91-
aws s3 sync dist s3://pytorch-geometric.com/whl/torch-${{ matrix.torch-version }}+${{ matrix.cuda-version }} --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
96+
aws s3 sync dist s3://data.pyg.org/whl/torch-${{ matrix.torch-version }}+${{ matrix.cuda-version }} --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers

.github/workflows/cuda/cu101-Linux-env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
CUDA_HOME=/usr/local/cuda-10.1
44
LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
55
PATH=${CUDA_HOME}/bin:${PATH}
6+
7+
export FORCE_CUDA=1
8+
export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5"

.github/workflows/cuda/cu101-Linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
OS=ubuntu1604
3+
OS=ubuntu1804
44

55
wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin
66
sudo mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600

.github/workflows/cuda/cu101-Windows-env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v10.1
44
PATH=${CUDA_HOME}/bin:$PATH
55
PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH
6+
7+
export FORCE_CUDA=1
8+
export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5"

.github/workflows/cuda/cu102-Linux-env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
CUDA_HOME=/usr/local/cuda-10.2
44
LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
55
PATH=${CUDA_HOME}/bin:${PATH}
6+
7+
export FORCE_CUDA=1
8+
export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5"

.github/workflows/cuda/cu102-Linux.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/bin/bash
22

3-
OS=ubuntu1604
3+
OS=ubuntu1804
44

5-
# Ubuntu-18.04
65
wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin
76
sudo mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600
87
wget -nv https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-${OS}-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb

.github/workflows/cuda/cu102-Windows-env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v10.2
44
PATH=${CUDA_HOME}/bin:$PATH
55
PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH
6+
7+
export FORCE_CUDA=1
8+
export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5"

.github/workflows/cuda/cu111-Linux-env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
CUDA_HOME=/usr/local/cuda-11.1
44
LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
55
PATH=${CUDA_HOME}/bin:${PATH}
6+
7+
export FORCE_CUDA=1
8+
export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6"

.github/workflows/cuda/cu111-Linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
OS=ubuntu1604
3+
OS=ubuntu1804
44

55
wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin
66
sudo mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600

0 commit comments

Comments
 (0)