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
cceeb2f8
"vscode:/vscode.git/clone" did not exist on "8dfcff745a5bd2d4886716bf0deff8dcc8e75fed"
Commit
cceeb2f8
authored
Jun 25, 2021
by
rusty1s
Browse files
[skip ci] build conda
parent
c5cac98e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+3
-3
conda/pytorch-spline-conv/build_conda.sh
conda/pytorch-spline-conv/build_conda.sh
+5
-2
conda/pytorch-spline-conv/meta.yaml
conda/pytorch-spline-conv/meta.yaml
+2
-5
No files found.
.github/workflows/building-conda.yml
View file @
cceeb2f8
...
...
@@ -45,7 +45,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.torch-version }} ${{ matrix.cuda-version }}
FORCE_ONLY_CPU=1 ./conda/pytorch-spline-conv/build_conda.sh ${{
matrix.python-version }} ${{
matrix.torch-version }} ${{ matrix.cuda-version }}
shell
:
bash
...
...
@@ -53,12 +53,12 @@ jobs:
if
:
${{ matrix.cuda-version != 'cpu' }}
run
:
|
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
FORCE_CUDA=1 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
FORCE_CUDA=1 ./conda/pytorch-spline-conv/build_conda.sh ${{
matrix.python-version }} ${{
matrix.torch-version }} ${{ matrix.cuda-version }}
shell
:
bash
-
name
:
Publish Conda package
run
:
|
$CONDA/bin/anaconda upload
--force
--label main $HOME/conda-bld/*/*.tar.bz2
$CONDA/bin/anaconda upload --label main $HOME/conda-bld/*/*.tar.bz2
env
:
ANACONDA_API_TOKEN
:
${{ secrets.ANACONDA_TOKEN }}
conda/pytorch-spline-conv/build_conda.sh
View file @
cceeb2f8
#!/bin/bash
export
TORCH_VERSION
=
$1
export
CUDA_VERSION
=
$2
export
PYTHON_VERSION
=
$2
export
TORCH_VERSION
=
$2
export
CUDA_VERSION
=
$3
export
CONDA_PYTHON_CONSTRAINT
=
"python==
$PYTHON_VERSION
"
export
CONDA_PYTORCH_CONSTRAINT
=
"pytorch==
${
TORCH_VERSION
%.*
}
.*"
...
...
conda/pytorch-spline-conv/meta.yaml
View file @
cceeb2f8
...
...
@@ -7,15 +7,12 @@ source:
requirements
:
host
:
-
pip
-
python
-
numpy>=1.11
-
{{
environ.get('CONDA_PYTHON_CONSTRAINT')
}}
-
{{
environ.get('CONDA_PYTORCH_CONSTRAINT')
}}
-
{{
environ.get('CONDA_CUDATOOLKIT_CONSTRAINT')
}}
run
:
-
python
-
numpy>=1.11
-
{{
environ.get('CONDA_PYTHON_CONSTRAINT')
}}
-
{{
environ.get('CONDA_PYTORCH_CONSTRAINT')
}}
-
{{
environ.get('CONDA_CUDATOOLKIT_CONSTRAINT')
}}
...
...
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