From 88add986b3226d6fb1a4280c5fc8c9d833fc0e71 Mon Sep 17 00:00:00 2001 From: Junya Morioka Date: Thu, 11 Dec 2025 15:06:30 +0900 Subject: [PATCH] ci: remove auditwheel --- .github/workflows/_build_linux.yml | 48 +++++----- .github/workflows/_build_linux_self_host.yml | 96 ++++++++++---------- 2 files changed, 72 insertions(+), 72 deletions(-) diff --git a/.github/workflows/_build_linux.yml b/.github/workflows/_build_linux.yml index 95bb479..11dfdcb 100644 --- a/.github/workflows/_build_linux.yml +++ b/.github/workflows/_build_linux.yml @@ -99,30 +99,30 @@ jobs: # Upload the release asset using GitHub CLI gh release upload "$tag_name" "$wheel_path" --clobber - - name: Apply auditwheel repair - continue-on-error: true - run: | - pip install auditwheel - auditwheel show flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} - auditwheel repair flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} -w flash-attention/dist_manylinux - wheel_name=$(basename $(ls flash-attention/dist_manylinux/*.whl | head -n 1)) - echo "WHEEL_NAME_MANYLINUX=$wheel_name" >> $GITHUB_OUTPUT + # - name: Apply auditwheel repair + # continue-on-error: true + # run: | + # pip install auditwheel + # auditwheel show flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} + # auditwheel repair flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} -w flash-attention/dist_manylinux + # wheel_name=$(basename $(ls flash-attention/dist_manylinux/*.whl | head -n 1)) + # echo "WHEEL_NAME_MANYLINUX=$wheel_name" >> $GITHUB_OUTPUT - - name: Apply auditwheel repair - if: ${{ inputs.is-upload }} - continue-on-error: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - pip uninstall -y flash-attn > /dev/null 2>&1 - pip install --no-cache-dir flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }} - python -c "import flash_attn; print(flash_attn.__version__)" + # - name: Apply auditwheel repair + # if: ${{ inputs.is-upload }} + # continue-on-error: true + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # run: | + # pip uninstall -y flash-attn > /dev/null 2>&1 + # pip install --no-cache-dir flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }} + # python -c "import flash_attn; print(flash_attn.__version__)" - wheel_path_manylinux="flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }}" - if [ ! -f "$wheel_path_manylinux" ]; then - echo "Error: Wheel file not found at $wheel_path_manylinux" - exit 1 - fi + # wheel_path_manylinux="flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }}" + # if [ ! -f "$wheel_path_manylinux" ]; then + # echo "Error: Wheel file not found at $wheel_path_manylinux" + # exit 1 + # fi - # Upload the release asset using GitHub CLI - gh release upload "$tag_name" "$wheel_path_manylinux" --clobber + # # Upload the release asset using GitHub CLI + # gh release upload "$tag_name" "$wheel_path_manylinux" --clobber diff --git a/.github/workflows/_build_linux_self_host.yml b/.github/workflows/_build_linux_self_host.yml index 5aa4891..eee467a 100644 --- a/.github/workflows/_build_linux_self_host.yml +++ b/.github/workflows/_build_linux_self_host.yml @@ -148,33 +148,33 @@ jobs: # Upload the release asset using GitHub CLI gh release upload "$tag_name" "$wheel_path" --clobber - - name: Apply auditwheel repair - continue-on-error: true - run: | - pip install auditwheel - auditwheel show flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} - auditwheel repair flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} -w flash-attention/dist_manylinux - wheel_name=$(basename $(ls flash-attention/dist_manylinux/*.whl | head -n 1)) - echo "WHEEL_NAME_MANYLINUX=$wheel_name" >> $GITHUB_OUTPUT + # - name: Apply auditwheel repair + # continue-on-error: true + # run: | + # pip install auditwheel + # auditwheel show flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} + # auditwheel repair flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} -w flash-attention/dist_manylinux + # wheel_name=$(basename $(ls flash-attention/dist_manylinux/*.whl | head -n 1)) + # echo "WHEEL_NAME_MANYLINUX=$wheel_name" >> $GITHUB_OUTPUT - - name: Apply auditwheel repair - if: ${{ inputs.is-upload }} - continue-on-error: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - pip uninstall -y flash-attn > /dev/null 2>&1 - pip install --no-cache-dir flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }} - python -c "import flash_attn; print(flash_attn.__version__)" + # - name: Apply auditwheel repair + # if: ${{ inputs.is-upload }} + # continue-on-error: true + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # run: | + # pip uninstall -y flash-attn > /dev/null 2>&1 + # pip install --no-cache-dir flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }} + # python -c "import flash_attn; print(flash_attn.__version__)" - wheel_path_manylinux="flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }}" - if [ ! -f "$wheel_path_manylinux" ]; then - echo "Error: Wheel file not found at $wheel_path_manylinux" - exit 1 - fi + # wheel_path_manylinux="flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }}" + # if [ ! -f "$wheel_path_manylinux" ]; then + # echo "Error: Wheel file not found at $wheel_path_manylinux" + # exit 1 + # fi - # Upload the release asset using GitHub CLI - gh release upload "$tag_name" "$wheel_path_manylinux" --clobber + # # Upload the release asset using GitHub CLI + # gh release upload "$tag_name" "$wheel_path_manylinux" --clobber - name: Clean up shell: bash @@ -295,33 +295,33 @@ jobs: # Upload the release asset using GitHub CLI gh release upload "$tag_name" "$wheel_path" --clobber - - name: Apply auditwheel repair - continue-on-error: true - run: | - pip install auditwheel - auditwheel show flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} - auditwheel repair flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} -w flash-attention/dist_manylinux - wheel_name=$(basename $(ls flash-attention/dist_manylinux/*.whl | head -n 1)) - echo "WHEEL_NAME_MANYLINUX=$wheel_name" >> $GITHUB_OUTPUT + # - name: Apply auditwheel repair + # continue-on-error: true + # run: | + # pip install auditwheel + # auditwheel show flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} + # auditwheel repair flash-attention/dist/${{ steps.build_wheels.outputs.WHEEL_NAME }} -w flash-attention/dist_manylinux + # wheel_name=$(basename $(ls flash-attention/dist_manylinux/*.whl | head -n 1)) + # echo "WHEEL_NAME_MANYLINUX=$wheel_name" >> $GITHUB_OUTPUT - - name: Apply auditwheel repair - if: ${{ inputs.is-upload }} - continue-on-error: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - pip uninstall -y flash-attn > /dev/null 2>&1 - pip install --no-cache-dir flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }} - python -c "import flash_attn; print(flash_attn.__version__)" + # - name: Apply auditwheel repair + # if: ${{ inputs.is-upload }} + # continue-on-error: true + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # run: | + # pip uninstall -y flash-attn > /dev/null 2>&1 + # pip install --no-cache-dir flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }} + # python -c "import flash_attn; print(flash_attn.__version__)" - wheel_path_manylinux="flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }}" - if [ ! -f "$wheel_path_manylinux" ]; then - echo "Error: Wheel file not found at $wheel_path_manylinux" - exit 1 - fi + # wheel_path_manylinux="flash-attention/dist_manylinux/${{ steps.build_wheels.outputs.WHEEL_NAME_MANYLINUX }}" + # if [ ! -f "$wheel_path_manylinux" ]; then + # echo "Error: Wheel file not found at $wheel_path_manylinux" + # exit 1 + # fi - # Upload the release asset using GitHub CLI - gh release upload "$tag_name" "$wheel_path_manylinux" --clobber + # # Upload the release asset using GitHub CLI + # gh release upload "$tag_name" "$wheel_path_manylinux" --clobber - name: Clean up shell: bash