mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:37:53 -04:00
fix filename replace in pwsh
This commit is contained in:
@@ -106,7 +106,7 @@ jobs:
|
||||
cd flash-attention
|
||||
python setup.py bdist_wheel --dist-dir=dist
|
||||
$baseWheelName = Get-ChildItem -Path "dist\*.whl" | Select-Object -First 1 | ForEach-Object { $_.Name }
|
||||
$wheelName = $baseWheelName -replace "${{ matrix.flash-attn-version }}", "${{ matrix.flash-attn-version }}+cu$env:MATRIX_CUDA_VERSION" + "torch$env:MATRIX_TORCH_VERSION" + "-win"
|
||||
$wheelName = $baseWheelName.Replace("${{ matrix.flash-attn-version }}", "${{ matrix.flash-attn-version }}+cu$env:MATRIX_CUDA_VERSION" + "torch$env:MATRIX_TORCH_VERSION")
|
||||
Move-Item "dist\$baseWheelName" "dist\$wheelName"
|
||||
echo "wheel_name=$wheelName" >> $env:GITHUB_ENV
|
||||
shell: pwsh
|
||||
|
||||
Reference in New Issue
Block a user