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
365b7df7
Commit
365b7df7
authored
Jun 25, 2021
by
rusty1s
Browse files
[skip ci] build conda
parent
ebc0fe51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
+2
-13
conda/pytorch-spline-conv/build_conda.sh
conda/pytorch-spline-conv/build_conda.sh
+0
-12
conda/pytorch-spline-conv/meta.yaml
conda/pytorch-spline-conv/meta.yaml
+2
-1
No files found.
conda/pytorch-spline-conv/build_conda.sh
View file @
365b7df7
...
...
@@ -11,27 +11,15 @@ if [ "${CUDA_VERSION}" = "cpu" ]; then
else
export
FORCE_CUDA
=
1
case
$CUDA_VERSION
in
cu112
)
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==11.2.*"
;;
cu111
)
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==11.1.*"
;;
cu110
)
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==11.0.*"
;;
cu102
)
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==10.2.*"
;;
cu101
)
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==10.1.*"
;;
cu100
)
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==10.0.*"
;;
cu92
)
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==9.2.*"
;;
*
)
echo
"Unrecognized CUDA_VERSION=
$CUDA_VERSION
"
exit
1
...
...
conda/pytorch-spline-conv/meta.yaml
View file @
365b7df7
...
...
@@ -21,7 +21,8 @@ requirements:
build
:
string
:
py{{py}}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
script
:
pip install .
script
:
python setup.py install
# script: pip install .
test
:
imports
:
...
...
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