From fda5b374bf9b2ca3b9acfa1f30acf6fd8299c71a Mon Sep 17 00:00:00 2001 From: abetlen Date: Sun, 7 Jun 2026 18:02:36 -0700 Subject: [PATCH] fix(ci): run CUDA auditwheel from conda --- .github/workflows/wheels-cuda.yaml | 6 +++--- CHANGELOG.md | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels-cuda.yaml b/.github/workflows/wheels-cuda.yaml index 8f6d4a1..3489fdb 100644 --- a/.github/workflows/wheels-cuda.yaml +++ b/.github/workflows/wheels-cuda.yaml @@ -252,8 +252,8 @@ jobs: set -euxo pipefail mkdir -p wheelhouse export LD_LIBRARY_PATH="${CUDA_LIBRARY_PATHS}:${LD_LIBRARY_PATH:-}" - python -m pip install auditwheel - python -m auditwheel repair \ + auditwheel_bin="${CONDA}/envs/ggml/bin/auditwheel" + "${auditwheel_bin}" repair \ --exclude libcuda.so \ --exclude libcuda.so.1 \ --exclude libcudart.so.11.0 \ @@ -269,7 +269,7 @@ jobs: dist/*.whl rm dist/*.whl cp wheelhouse/*.whl dist/ - python -m auditwheel show dist/*.whl + "${auditwheel_bin}" show dist/*.whl - uses: softprops/action-gh-release@v3 if: startsWith(github.ref, 'refs/tags/') || (github.event_name == 'workflow_dispatch' && inputs.release_tag != '') diff --git a/CHANGELOG.md b/CHANGELOG.md index 681fa96..8096029 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- fix(ci): run CUDA auditwheel from the conda environment - fix(ci): install auditwheel in accelerator repair steps - fix(ci): repair accelerator wheel workflow dispatch publishing