mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:37:53 -04:00
ci: fix auditwheel repair step output references
- Add step ID to auditwheel_repair for proper output tracking - Update wheel path references to use correct step outputs - Add patchelf dependency for ARM Linux builds - Add explicit shell specification for manylinux workflow
This commit is contained in:
@@ -152,6 +152,7 @@ jobs:
|
||||
|
||||
- name: Apply auditwheel repair
|
||||
continue-on-error: true
|
||||
id: auditwheel_repair
|
||||
run: |
|
||||
auditwheel show ${{ steps.build_wheels.outputs.WHEEL_PATH }}
|
||||
auditwheel repair \
|
||||
@@ -164,7 +165,7 @@ jobs:
|
||||
continue-on-error: true
|
||||
run: |
|
||||
pip uninstall -y flash-attn > /dev/null 2>&1
|
||||
pip install --no-cache-dir ${{ steps.build_wheels.outputs.WHEEL_PATH_MANYLINUX }}
|
||||
pip install --no-cache-dir ${{ steps.auditwheel_repair.outputs.WHEEL_PATH_MANYLINUX }}
|
||||
python -c "import flash_attn; print(flash_attn.__version__)"
|
||||
|
||||
- name: Upload manylinux wheel
|
||||
@@ -172,7 +173,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
wheel_path_manylinux="${{ steps.build_wheels.outputs.WHEEL_PATH_MANYLINUX }}"
|
||||
wheel_path_manylinux="${{ steps.auditwheel_repair.outputs.WHEEL_PATH_MANYLINUX }}"
|
||||
if [ ! -f "$wheel_path_manylinux" ]; then
|
||||
echo "Error: Wheel file not found at $wheel_path_manylinux"
|
||||
exit 1
|
||||
@@ -303,6 +304,7 @@ jobs:
|
||||
|
||||
- name: Apply auditwheel repair
|
||||
continue-on-error: true
|
||||
id: auditwheel_repair
|
||||
run: |
|
||||
auditwheel show ${{ steps.build_wheels.outputs.WHEEL_PATH }}
|
||||
auditwheel repair \
|
||||
@@ -315,7 +317,7 @@ jobs:
|
||||
continue-on-error: true
|
||||
run: |
|
||||
pip uninstall -y flash-attn > /dev/null 2>&1
|
||||
pip install --no-cache-dir ${{ steps.build_wheels.outputs.WHEEL_PATH_MANYLINUX }}
|
||||
pip install --no-cache-dir ${{ steps.auditwheel_repair.outputs.WHEEL_PATH_MANYLINUX }}
|
||||
python -c "import flash_attn; print(flash_attn.__version__)"
|
||||
|
||||
- name: Upload manylinux wheel
|
||||
@@ -323,7 +325,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
wheel_path_manylinux="${{ steps.build_wheels.outputs.WHEEL_PATH_MANYLINUX }}"
|
||||
wheel_path_manylinux="${{ steps.auditwheel_repair.outputs.WHEEL_PATH_MANYLINUX }}"
|
||||
if [ ! -f "$wheel_path_manylinux" ]; then
|
||||
echo "Error: Wheel file not found at $wheel_path_manylinux"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user