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-spline-conv
Commits
2645832b
"examples/sampling/vscode:/vscode.git/clone" did not exist on "f5b045587bd6ca3c32934d7b8398a364b7bbae46"
Commit
2645832b
authored
Nov 04, 2022
by
rusty1s
Browse files
update
parent
56bc208f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
.github/workflows/building.yml
.github/workflows/building.yml
+2
-1
.github/workflows/linting.yml
.github/workflows/linting.yml
+1
-1
.github/workflows/testing.yml
.github/workflows/testing.yml
+1
-1
No files found.
.github/workflows/building.yml
View file @
2645832b
...
@@ -49,13 +49,14 @@ jobs:
...
@@ -49,13 +49,14 @@ jobs:
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
run
:
|
run
:
|
pip install --extra-index-url torch==${{ matrix.torch-version }} -f https://download.pytorch.org/whl/${{ matrix.cuda-version }}
pip install --extra-index-url torch==${{ matrix.torch-version }}
+cpu
-f https://download.pytorch.org/whl/${{ matrix.cuda-version }}
python -c "import torch; print('PyTorch:', torch.__version__)"
python -c "import torch; print('PyTorch:', torch.__version__)"
python -c "import torch; print('CUDA:', torch.version.cuda)"
python -c "import torch; print('CUDA:', torch.version.cuda)"
-
name
:
Set version
-
name
:
Set version
run
:
|
run
:
|
VERSION=`sed -n "s/^__version__ = '\(.*\)'/\1/p" torch_spline_conv/__init__.py`
VERSION=`sed -n "s/^__version__ = '\(.*\)'/\1/p" torch_spline_conv/__init__.py`
sed -i "s/$VERSION/$VERSION+{{ matrix.cuda-version }}/" setup.py
sed -i "s/$VERSION/$VERSION+{{ matrix.cuda-version }}/" torch_spline_conv/__init__.py
sed -i "s/$VERSION/$VERSION+{{ matrix.cuda-version }}/" torch_spline_conv/__init__.py
-
name
:
Install main package for CPU
-
name
:
Install main package for CPU
...
...
.github/workflows/linting.yml
View file @
2645832b
...
@@ -44,7 +44,7 @@ jobs:
...
@@ -44,7 +44,7 @@ jobs:
-
name
:
Install PyTorch ${{ matrix.torch-version }}
-
name
:
Install PyTorch ${{ matrix.torch-version }}
run
:
|
run
:
|
pip install --extra-index-url torch==${{ matrix.torch-version }} -f https://download.pytorch.org/whl/cpu
pip install --extra-index-url torch==${{ matrix.torch-version }}
+cpu
-f https://download.pytorch.org/whl/cpu
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
|
run
:
|
...
...
.github/workflows/testing.yml
View file @
2645832b
...
@@ -27,7 +27,7 @@ jobs:
...
@@ -27,7 +27,7 @@ jobs:
-
name
:
Install PyTorch ${{ matrix.torch-version }}
-
name
:
Install PyTorch ${{ matrix.torch-version }}
run
:
|
run
:
|
pip install --extra-index-url torch==${{ matrix.torch-version }} -f https://download.pytorch.org/whl/cpu
pip install --extra-index-url torch==${{ matrix.torch-version }}
+cpu
-f https://download.pytorch.org/whl/cpu
-
name
:
Install main package
-
name
:
Install main package
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