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
4f946374
Commit
4f946374
authored
Nov 04, 2022
by
rusty1s
Browse files
update
parent
e09a12b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
.github/workflows/building.yml
.github/workflows/building.yml
+1
-3
.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 @
4f946374
...
@@ -49,15 +49,13 @@ jobs:
...
@@ -49,15 +49,13 @@ jobs:
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
-
name
:
Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
run
:
|
run
:
|
pip install numpy typing-extensions dataclasses
pip install --no-index --no-cache-dir torch==${{ matrix.torch-version }} -f https://download.pytorch.org/whl/${{ matrix.cuda-version }}
pip install --no-index --no-cache-dir 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('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 @
4f946374
...
@@ -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 torch==${{ matrix.torch-version}}
+cpu
-f https://download.pytorch.org/whl/
torch_stable.html
pip install
--no-index --no-cache-dir
torch==${{ matrix.torch-version
}} -f https://download.pytorch.org/whl/
cpu
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
|
run
:
|
...
...
.github/workflows/testing.yml
View file @
4f946374
...
@@ -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 torch==${{ matrix.torch-version}}
+cpu
-f https://download.pytorch.org/whl/
torch_stable.html
pip install
--no-index --no-cache-dir
torch==${{ matrix.torch-version
}} -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