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
7f7889ed
Commit
7f7889ed
authored
Jun 16, 2021
by
rusty1s
Browse files
[skip ci] bash shell
parent
7394c6df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
.github/workflows/building.yml
.github/workflows/building.yml
+7
-13
No files found.
.github/workflows/building.yml
View file @
7f7889ed
...
...
@@ -10,11 +10,9 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
# os: [ubuntu-18.04, macos-10.15, windows-latest]
os
:
[
ubuntu-18.04
,
windows-latest
]
# python-version: [3.6, 3.7, 3.8, 3.9]
python-version
:
[
3.6
]
# torch-version: [1.8.0, 1.9.0]
os
:
[
ubuntu-18.04
,
macos-10.15
,
windows-latest
]
python-version
:
[
3.6
,
3.7
,
3.8
,
3.9
]
torch-version
:
[
1.8.0
,
1.9.0
]
torch-version
:
[
1.9.0
]
cuda-version
:
[
'
cpu'
,
'
cu101'
,
'
cu102'
,
'
cu111'
]
exclude
:
...
...
@@ -46,27 +44,23 @@ jobs:
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
if
:
${{ runner.os != 'macOS' && (matrix.torch-version != '1.8.0' || matrix.cuda-version != 'cu102') }}
run
:
|
pip install 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}}+${{ matrix.cuda-version }} -f https://download.pytorch.org/whl/torch_stable.html
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
if
:
${{ runner.os == 'macOS' || (matrix.torch-version == '1.8.0' && matrix.cuda-version == 'cu102') }}
run
:
|
pip install torch==${{ matrix.torch-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.html
-
name
:
Install main package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
run
:
|
pip install -e .
env
:
FORCE_ONLY_CPU
:
1
FORCE_ONLY_CPU=1 pip install -e .
-
name
:
Install main package with CUDA
if
:
${{ matrix.cuda-version != 'cpu' }}
run
:
|
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
pip install -e .
env
:
FORCE_CUDA
:
1
FORCE_CUDA=1 pip install -e .
shell
:
bash
...
...
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