add aws codebuild

This commit is contained in:
Junya Morioka
2025-08-15 00:49:13 +09:00
parent 8ba7f486e8
commit d7dc50f3c4
@@ -30,8 +30,8 @@ jobs:
runs-on: codebuild-flash-attention-pre-build-wheel-windows-${{ github.run_id }}-${{ github.run_attempt }} runs-on: codebuild-flash-attention-pre-build-wheel-windows-${{ github.run_id }}-${{ github.run_attempt }}
# Large Instance # Large Instance
env: env:
MAX_JOBS: 4 MAX_JOBS: 6
NVCC_THREADS: 3 NVCC_THREADS: 4
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -74,6 +74,7 @@ jobs:
- name: Build wheels - name: Build wheels
shell: pwsh shell: pwsh
timeout-minutes: 129600
run: | run: |
.\build_windows.ps1 -FlashAttnVersion "${{ inputs.flash-attn-version }}" -PythonVersion "${{ inputs.python-version }}" -TorchVersion "${{ inputs.torch-version }}" -CudaVersion "${{ inputs.cuda-version }}" .\build_windows.ps1 -FlashAttnVersion "${{ inputs.flash-attn-version }}" -PythonVersion "${{ inputs.python-version }}" -TorchVersion "${{ inputs.torch-version }}" -CudaVersion "${{ inputs.cuda-version }}"
$wheelName = Get-ChildItem -Path "flash-attention\dist\*.whl" | Select-Object -First 1 | ForEach-Object { $_.Name } $wheelName = Get-ChildItem -Path "flash-attention\dist\*.whl" | Select-Object -First 1 | ForEach-Object { $_.Name }