Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit cb75d7d

Browse files
authored
add magma build for CUDA 12.6 (#2020)
* add magma build for cuda 12.6 * use v4 actions/upload-artifact * add target magma-126
1 parent fabfde6 commit cb75d7d

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/build-magma-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: linux.2xlarge
3131
strategy:
3232
matrix:
33-
cuda_version: ["124", "121", "118"]
33+
cuda_version: ["126", "124", "121", "118"]
3434
steps:
3535
- name: Checkout PyTorch builder
3636
uses: actions/checkout@v3
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
make magma-cuda${{ matrix.cuda_version }}
4141
- name: Save as artifact
42-
uses: actions/upload-artifact@v2
42+
uses: actions/upload-artifact@v4
4343
with:
4444
path: magma/output/linux-64/magma-cuda*.bz2
4545
- name: Install conda

magma/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ DOCKER_RUN = set -eou pipefail; docker run --rm -i \
1414
magma/build_magma.sh
1515

1616
.PHONY: all
17+
all: magma-cuda126
1718
all: magma-cuda124
1819
all: magma-cuda121
1920
all: magma-cuda118
@@ -23,6 +24,12 @@ clean:
2324
$(RM) -r magma-*
2425
$(RM) -r output
2526

27+
.PHONY: magma-cuda126
28+
magma-cuda126: DESIRED_CUDA := 12.6
29+
magma-cuda126: PACKAGE_NAME := magma-cuda126
30+
magma-cuda126:
31+
$(DOCKER_RUN)
32+
2633
.PHONY: magma-cuda124
2734
magma-cuda124: DESIRED_CUDA := 12.4
2835
magma-cuda124: PACKAGE_NAME := magma-cuda124

0 commit comments

Comments
 (0)