diff --git a/.github/workflows/push_conda.yml b/.github/workflows/push_conda.yml index 36dde45..c6b7473 100644 --- a/.github/workflows/push_conda.yml +++ b/.github/workflows/push_conda.yml @@ -25,6 +25,10 @@ on: jobs: publish: + # fused-ops-v* releases are published by push_conda_fused_ops.yml + if: >- + github.event_name != 'release' + || !startsWith(github.event.release.tag_name, 'fused-ops-v') runs-on: ubuntu-latest steps: diff --git a/.github/workflows/push_conda_fused_ops.yml b/.github/workflows/push_conda_fused_ops.yml index cf9c758..f4c9fda 100644 --- a/.github/workflows/push_conda_fused_ops.yml +++ b/.github/workflows/push_conda_fused_ops.yml @@ -56,7 +56,13 @@ jobs: - name: Build uses: prefix-dev/rattler-build-action@v0.2.34 + env: + # hosted runners have no GPU, so declare the __cuda virtual package for + # the CUDA pytorch in the host and test environments + CONDA_OVERRIDE_CUDA: "12.6" with: + # the action's default rattler-build is too old for --variant + rattler-build-version: v0.77.0 recipe-path: fused_ops/recipe/recipe.yaml upload-artifact: false build-args: >-