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
5a74f18e
"vscode:/vscode.git/clone" did not exist on "4fab155b5c63b7a273da9be01d0899d821dd3a48"
Commit
5a74f18e
authored
Jun 16, 2021
by
rusty1s
Browse files
[skip ci] bash shell
parent
a47bb15a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
.github/workflows/building.yml
.github/workflows/building.yml
+5
-4
No files found.
.github/workflows/building.yml
View file @
5a74f18e
...
...
@@ -13,7 +13,7 @@ jobs:
# os: [ubuntu-18.04, macos-10.15, windows-latest]
os
:
[
windows-latest
]
# python-version: [3.6, 3.7, 3.8, 3.9]
python-version
:
[
3.9
]
python-version
:
[
3.8
,
3.9
]
# torch-version: [1.8.0, 1.9.0]
torch-version
:
[
1.8.0
]
# cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
...
...
@@ -46,8 +46,9 @@ jobs:
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
run
:
|
pip install --no-cache-dir torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/${{ matrix.cuda-version }}/torch_stable.html
python -c "import torch; print(torch.__version__ + '+' + torch.version.cuda)"
pip install --no-cache-dir --verbose torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/${{ matrix.cuda-version }}/torch_stable.html
python -c "import torch; print('PyTorch:', torch.__version__)"
python -c "import torch; print('CUDA: ', torch.__version__)"
-
name
:
Install main package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
...
...
@@ -56,7 +57,7 @@ jobs:
shell
:
bash
-
name
:
Install main package
with CUDA
-
name
:
Install main package
for GPU
if
:
${{ matrix.cuda-version != 'cpu' }}
run
:
|
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
...
...
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