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
f150fc9c
"src/diffusers/pipelines/pipeline_utils.py" did not exist on "42bb459457d77d6185f74cbc32f2a08b08876af5"
Commit
f150fc9c
authored
Jun 26, 2021
by
rusty1s
Browse files
[skip ci] conda
parent
fb1e5f98
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
36 deletions
+43
-36
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+43
-36
No files found.
.github/workflows/building-conda.yml
View file @
f150fc9c
...
@@ -30,10 +30,12 @@ jobs:
...
@@ -30,10 +30,12 @@ jobs:
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
name
:
Set up Conda for Python ${{ matrix.python-version }}
uses
:
conda-incubator/setup-miniconda@v2
-
name
:
HEHE
with
:
run
:
|
python-version
:
${{ matrix.python-version }}
ls -lah
shell
:
bash
-
name
:
Free up disk space
-
name
:
Free up disk space
if
:
${{ runner.os == 'Windows' && matrix.cuda-version == 'cu111' }}
if
:
${{ runner.os == 'Windows' && matrix.cuda-version == 'cu111' }}
...
@@ -43,39 +45,44 @@ jobs:
...
@@ -43,39 +45,44 @@ jobs:
Remove-Item "$Env:Programfiles\Boost" -Recurse -Force -ErrorAction SilentlyContinue -ErrorVariable err
Remove-Item "$Env:Programfiles\Boost" -Recurse -Force -ErrorAction SilentlyContinue -ErrorVariable err
Write-Host $err
Write-Host $err
-
name
:
Install Conda packages
# - name: Set up Conda for Python ${{ matrix.python-version }}
run
:
|
# uses: conda-incubator/setup-miniconda@v2
conda install conda-build conda-verify --yes
# with:
shell
:
# python-version: ${{ matrix.python-version }}
bash -l {0}
-
name
:
Install CUDA ${{ matrix.cuda-version }}
# - name: Install Conda packages
if
:
${{ matrix.cuda-version != 'cpu' }}
# run: |
run
:
|
# conda install conda-build conda-verify --yes
bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh
# shell:
shell
:
# bash -l {0}
bash
-
name
:
Build Conda package for CPU
#
- name:
Install CUDA ${{ matrix.cuda-version }}
if
:
${{ matrix.cuda-version
=
= 'cpu' }}
#
if: ${{ matrix.cuda-version
!
= 'cpu' }}
run
:
|
#
run: |
FORCE_CUDA=0 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.python-version }}
${{ matrix.
torch
-version }}
${{
matrix.cuda-version }}
#
bash .github/workflows/cuda/
${{ matrix.
cuda
-version }}
-
${{
runner.os }}.sh
shell
:
#
shell:
bash
-l {0}
#
bash
-
name
:
Build Conda package for GPU
# - name: Build Conda package for CPU
if
:
${{ matrix.cuda-version != 'cpu' }}
# if: ${{ matrix.cuda-version == 'cpu' }}
run
:
|
# run: |
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
# FORCE_CUDA=0 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.python-version }} ${{ 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:
shell
:
# bash -l {0}
bash -l {0}
-
name
:
Publish Conda package
# - name: Build Conda package for GPU
run
:
|
# if: ${{ matrix.cuda-version != 'cpu' }}
conda install anaconda-client --yes
# run: |
anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2
# source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
env
:
# FORCE_CUDA=1 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
ANACONDA_API_TOKEN
:
${{ secrets.ANACONDA_TOKEN }}
# shell:
shell
:
# bash -l {0}
bash -l {0}
# - name: Publish Conda package
# run: |
# conda install anaconda-client --yes
# anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2
# env:
# ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
# shell:
# bash -l {0}
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