mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:37:53 -04:00
fix aws codebuild
This commit is contained in:
@@ -91,17 +91,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$tag_name = "${env:GITHUB_REF}".Replace("refs/tags/", "")
|
$tag_name = "${env:GITHUB_REF}".Replace("refs/tags/", "")
|
||||||
$wheel_path = "flash-attention/dist/$env:wheel_name"
|
$wheel_path = "flash-attention/dist/$env:wheel_name"
|
||||||
|
|
||||||
# Check if the file exists
|
|
||||||
if (-not (Test-Path $wheel_path)) {
|
|
||||||
$tag_name = "${env:GITHUB_REF}".Replace("refs/tags/", "")
|
|
||||||
$wheel_path = "flash-attention/dist/$env:wheel_name"
|
|
||||||
|
|
||||||
# Check if the file exists
|
|
||||||
if (-not (Test-Path $wheel_path)) {
|
|
||||||
Write-Host "Error: Wheel file not found at $wheel_path"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# Upload the release asset using GitHub CLI
|
|
||||||
gh release upload "$tag_name" "$wheel_path" --clobber
|
gh release upload "$tag_name" "$wheel_path" --clobber
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ 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: 2
|
NVCC_THREADS: 2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -93,17 +93,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$tag_name = "${env:GITHUB_REF}".Replace("refs/tags/", "")
|
$tag_name = "${env:GITHUB_REF}".Replace("refs/tags/", "")
|
||||||
$wheel_path = "flash-attention/dist/$env:wheel_name"
|
$wheel_path = "flash-attention/dist/$env:wheel_name"
|
||||||
|
|
||||||
# Check if the file exists
|
|
||||||
if (-not (Test-Path $wheel_path)) {
|
|
||||||
$tag_name = "${env:GITHUB_REF}".Replace("refs/tags/", "")
|
|
||||||
$wheel_path = "flash-attention/dist/$env:wheel_name"
|
|
||||||
|
|
||||||
# Check if the file exists
|
|
||||||
if (-not (Test-Path $wheel_path)) {
|
|
||||||
Write-Host "Error: Wheel file not found at $wheel_path"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# Upload the release asset using GitHub CLI
|
|
||||||
gh release upload "$tag_name" "$wheel_path" --clobber
|
gh release upload "$tag_name" "$wheel_path" --clobber
|
||||||
|
|||||||
Reference in New Issue
Block a user