Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
ca99ecfd
Commit
ca99ecfd
authored
Jun 16, 2021
by
rusty1s
Browse files
[skip ci] bash shell
parent
db22d9ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
.github/workflows/building.yml
.github/workflows/building.yml
+5
-9
No files found.
.github/workflows/building.yml
View file @
ca99ecfd
...
@@ -11,13 +11,13 @@ jobs:
...
@@ -11,13 +11,13 @@ jobs:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
# os: [ubuntu-18.04, macos-10.15, windows-latest]
# os: [ubuntu-18.04, macos-10.15, windows-latest]
os
:
[
windows-latest
]
os
:
[
ubuntu-18.04
]
# python-version: [3.6, 3.7, 3.8, 3.9]
# python-version: [3.6, 3.7, 3.8, 3.9]
python-version
:
[
3.6
]
python-version
:
[
3.6
]
# torch-version: [1.8.0, 1.9.0]
# torch-version: [1.8.0, 1.9.0]
torch-version
:
[
1.8.0
]
torch-version
:
[
1.8.0
]
# cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
# cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
cuda-version
:
[
'
cu10
1
'
]
cuda-version
:
[
'
cu10
2
'
]
exclude
:
exclude
:
-
torch-version
:
1.9.0
-
torch-version
:
1.9.0
cuda-version
:
'
cu101'
cuda-version
:
'
cu101'
...
@@ -45,18 +45,13 @@ jobs:
...
@@ -45,18 +45,13 @@ jobs:
bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh
bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
if
:
${{ runner.os != 'macOS' }}
run
:
|
run
:
|
pip install --no-cache-dir torch==${{ matrix.torch-version}}+${{ matrix.cuda-version }} -f https://download.pytorch.org/whl/torch_stable.html
pip install --no-cache-dir torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/torch_stable/+${{ matrix.cuda-version }}.html
-
name
:
Install default PyTorch ${{ matrix.torch-version }}
if
:
${{ runner.os == 'macOS' || (matrix.torch-version == '1.8.0' && matrix.cuda-version == 'cu102') }}
run
:
|
pip install --no-cache-dir torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/torch_stable.html
-
name
:
Install main package for CPU
-
name
:
Install main package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
if
:
${{ matrix.cuda-version == 'cpu' }}
run
:
|
run
:
|
python -c "import torch; print(torch.__version__ + '+cpu')"
FORCE_ONLY_CPU=1 pip install -e .
FORCE_ONLY_CPU=1 pip install -e .
shell
:
shell
:
bash
bash
...
@@ -64,6 +59,7 @@ jobs:
...
@@ -64,6 +59,7 @@ jobs:
-
name
:
Install main package with CUDA
-
name
:
Install main package with CUDA
if
:
${{ matrix.cuda-version != 'cpu' }}
if
:
${{ matrix.cuda-version != 'cpu' }}
run
:
|
run
:
|
python -c "import torch; print(torch.__version__ + '+' + torch.version.cuda)"
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
FORCE_CUDA=1 pip install -e .
FORCE_CUDA=1 pip install -e .
shell
:
shell
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment