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-sparse
Commits
ceaaf0b2
Commit
ceaaf0b2
authored
Jun 17, 2021
by
rusty1s
Browse files
WITH_METIS
parent
a49a1429
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
.github/workflows/building.yml
.github/workflows/building.yml
+2
-2
.github/workflows/testing.yml
.github/workflows/testing.yml
+3
-1
No files found.
.github/workflows/building.yml
View file @
ceaaf0b2
...
@@ -56,7 +56,7 @@ jobs:
...
@@ -56,7 +56,7 @@ jobs:
-
name
:
Install main package for CPU
-
name
:
Install main package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
if
:
${{ matrix.cuda-version == 'cpu' }}
run
:
|
run
:
|
FORCE_ONLY_CPU=1 pip install -e .
FORCE_ONLY_CPU=1
WITH_METIS=1
pip install -e .
shell
:
shell
:
bash
bash
...
@@ -64,7 +64,7 @@ jobs:
...
@@ -64,7 +64,7 @@ jobs:
if
:
${{ matrix.cuda-version != 'cpu' }}
if
:
${{ matrix.cuda-version != 'cpu' }}
run
:
|
run
:
|
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
WITH_METIS=1
pip install -e .
shell
:
shell
:
bash
bash
...
...
.github/workflows/testing.yml
View file @
ceaaf0b2
...
@@ -30,11 +30,13 @@ jobs:
...
@@ -30,11 +30,13 @@ jobs:
-
name
:
Install internal dependencies
-
name
:
Install internal dependencies
run
:
|
run
:
|
pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-${{ matrix.torch-version }}+
${{ matrix.cuda-version }}
.html
pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-${{ matrix.torch-version }}+
cpu
.html
-
name
:
Install main package
-
name
:
Install main package
run
:
|
run
:
|
pip install -e .[test]
pip install -e .[test]
env
:
WITH_METIS
:
1
-
name
:
Run test-suite
-
name
:
Run test-suite
run
:
|
run
:
|
...
...
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