mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:37:53 -04:00
wip: add manylinux build
This commit is contained in:
@@ -84,19 +84,24 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global --add safe.directory $(pwd)
|
git config --global --add safe.directory $(pwd)
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
# - uses: actions/setup-python@v5
|
||||||
with:
|
# with:
|
||||||
python-version: ${{ inputs.python-version }}
|
# python-version: ${{ inputs.python-version }}
|
||||||
|
|
||||||
|
- name: Install Python
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
|
source $HOME/.local/bin/env
|
||||||
|
uv venv -p ${{ inputs.python-version }}
|
||||||
|
uv pip install -U pip setuptools==75.8.0 wheel packaging psutil
|
||||||
|
current_dir=$(pwd)
|
||||||
|
export PATH="$current_dir/.venv/bin:$PATH"
|
||||||
|
|
||||||
- uses: mjun0812/setup-cuda@v1
|
- uses: mjun0812/setup-cuda@v1
|
||||||
with:
|
with:
|
||||||
version: ${{ inputs.cuda-version }}
|
version: ${{ inputs.cuda-version }}
|
||||||
|
|
||||||
- name: Install build dependencies
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
pip install -U pip setuptools==75.8.0 wheel packaging psutil
|
|
||||||
|
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
timeout-minutes: 2160
|
timeout-minutes: 2160
|
||||||
id: build_wheels
|
id: build_wheels
|
||||||
|
|||||||
Reference in New Issue
Block a user