"vscode:/vscode.git/clone" did not exist on "8dfcff745a5bd2d4886716bf0deff8dcc8e75fed"
Commit cceeb2f8 authored by rusty1s's avatar rusty1s
Browse files

[skip ci] build conda

parent c5cac98e
......@@ -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 }}
#!/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%.*}.*"
......
......@@ -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') }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment