From 4e51076d8b2a2aef166218cdcfd8e98a6a638022 Mon Sep 17 00:00:00 2001 From: "Ali R. Khan" Date: Sat, 24 Oct 2026 07:26:51 -0400 Subject: [PATCH 1/2] Fix fused ops conda CI and keep fireants publish off fused-ops releases - Pin rattler-build to v0.77.0 in the fused ops workflow: the rattler-build-action default (v0.44.0) does not support --variant. - Skip the fireants publish workflow for fused-ops-v* releases, which it cannot version (prepare.py needs a v tag). Co-Authored-By: Claude Opus 5.5 --- .github/workflows/push_conda.yml | 4 ++++ .github/workflows/push_conda_fused_ops.yml | 2 ++ 2 files changed, 6 insertions(+) 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..e4dfc02 100644 --- a/.github/workflows/push_conda_fused_ops.yml +++ b/.github/workflows/push_conda_fused_ops.yml @@ -57,6 +57,8 @@ jobs: - name: Build uses: prefix-dev/rattler-build-action@v0.2.34 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: >- From 5268284aa44ab9e82798bf4bbedce404086aeb95 Mon Sep 17 00:00:00 2001 From: "Ali R. Khan" Date: Sat, 24 Oct 2026 07:29:40 -0400 Subject: [PATCH 2/2] Declare __cuda for fused ops builds on GPU-less runners Co-Authored-By: Claude Opus 5.5 --- .github/workflows/push_conda_fused_ops.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/push_conda_fused_ops.yml b/.github/workflows/push_conda_fused_ops.yml index e4dfc02..f4c9fda 100644 --- a/.github/workflows/push_conda_fused_ops.yml +++ b/.github/workflows/push_conda_fused_ops.yml @@ -56,6 +56,10 @@ 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