Skip to content

Commit fb6a3d1

Browse files
committed
update CUDA binary and runtime download logic to target version 13.1 only
1 parent 94d9ee0 commit fb6a3d1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040
# List all assets so we can see exact names
4141
echo "$RELEASE" | jq -r '.assets[].name' | head -30
4242
43-
# Find and download the CUDA binary
44-
CUDA_URL=$(echo "$RELEASE" | jq -r '.assets[] | select(.name | test("bin-win-cuda.*x64\\.zip$")) | select(.name | test("cudart") | not) | .browser_download_url')
43+
# Find and download the CUDA binary (13.1 only)
44+
CUDA_URL=$(echo "$RELEASE" | jq -r '.assets[] | select(.name | test("bin-win-cuda-13\\.1-x64\\.zip$") | select(.name | test("cudart") | not) | .browser_download_url')
4545
echo "CUDA binary URL: $CUDA_URL"
4646
curl -fL -o llama-cuda.zip "$CUDA_URL"
4747
48-
# Find and download the CUDA runtime
49-
CUDART_URL=$(echo "$RELEASE" | jq -r '.assets[] | select(.name | test("cudart.*cuda.*x64\\.zip$")) | .browser_download_url')
48+
# Find and download the CUDA runtime (13.1 only)
49+
CUDART_URL=$(echo "$RELEASE" | jq -r '.assets[] | select(.name | test("cudart.*cuda-13\\.1-x64\\.zip$")) | .browser_download_url')
5050
echo "CUDART URL: $CUDART_URL"
5151
curl -fL -o llama-cudart.zip "$CUDART_URL"
5252

0 commit comments

Comments
 (0)