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
2da00a7e
Commit
2da00a7e
authored
Jun 25, 2021
by
rusty1s
Browse files
[skip ci] build conda
parent
4d976c5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+2
-2
conda/pytorch-spline-conv/meta.yaml
conda/pytorch-spline-conv/meta.yaml
+0
-1
setup.py
setup.py
+2
-0
No files found.
.github/workflows/building-conda.yml
View file @
2da00a7e
...
...
@@ -16,7 +16,7 @@ jobs:
# torch-version: [1.8.0, 1.9.0]
torch-version
:
[
1.9.0
]
# cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
cuda-version
:
[
'
cpu'
]
cuda-version
:
[
'
cpu'
,
'
cu102'
]
exclude
:
-
torch-version
:
1.9.0
cuda-version
:
'
cu101'
...
...
@@ -52,7 +52,7 @@ jobs:
-
name
:
Build Conda package for CPU
if
:
${{ matrix.cuda-version == 'cpu' }}
run
:
|
FORCE_
ONLY_CPU=1
./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
FORCE_
CUDA=0
./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
shell
:
bash
...
...
conda/pytorch-spline-conv/meta.yaml
View file @
2da00a7e
...
...
@@ -22,7 +22,6 @@ build:
script_env
:
-
CUDA_HOME
-
FORCE_CUDA
-
FORCE_ONLY_CPU
test
:
imports
:
...
...
setup.py
View file @
2da00a7e
...
...
@@ -19,6 +19,8 @@ if os.getenv('FORCE_ONLY_CPU', '0') == '1':
BUILD_DOCS
=
os
.
getenv
(
'BUILD_DOCS'
,
'0'
)
==
'1'
print
(
'FORCE CUDA'
,
suffices
)
def
get_extensions
():
extensions
=
[]
...
...
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