8000 Add magma cuda build 12.8 (#145765) · pytorch/pytorch@354fe48 · GitHub
[go: up one dir, main page]

Skip to content

Commit 354fe48

Browse files
tinglvvpytorchmergebot
authored andcommitted
Add magma cuda build 12.8 (#145765)
#145570 Pull Request resolved: #145765 Approved by: https://github.com/malfet
1 parent 501c597 commit 354fe48

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.ci/magma/Makefile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,22 @@ DOCKER_RUN = set -eou pipefail; ${DOCKER_CMD} run --rm -i \
1616
magma/build_magma.sh
1717

1818
.PHONY: all
19+
all: magma-cuda128
1920
all: magma-cuda126
2021
all: magma-cuda124
21-
all: magma-cuda121
2222
all: magma-cuda118
2323

2424
.PHONY:
2525
clean:
2626
$(RM) -r magma-*
2727
$(RM) -r output
2828

29+
.PHONY: magma-cuda128
30+
magma-cuda128: DESIRED_CUDA := 12.8
31+
magma-cuda128: CUDA_ARCH_LIST += -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120
32+
magma-cuda128:
33+
$(DOCKER_RUN)
34+
2935
.PHONY: magma-cuda126
3036
magma-cuda126: DESIRED_CUDA := 12.6
3137
magma-cuda126:
@@ -36,11 +42,6 @@ magma-cuda124: DESIRED_CUDA := 12.4
3642
magma-cuda124:
3743
$(DOCKER_RUN)
3844

39-
.PHONY: magma-cuda121
40-
magma-cuda121: DESIRED_CUDA := 12.1
41-
magma-cuda121:
42-
$(DOCKER_RUN)
43-
4445
.PHONY: magma-cuda118
4546
magma-cuda118: DESIRED_CUDA := 11.8
4647
magma-cuda118: CUDA_ARCH_LIST += -gencode arch=compute_37,code=sm_37

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
id-token: write
3535
strategy:
3636
matrix:
37-
cuda_version: ["126", "124", "121", "118"] # There is no pytorch/manylinux-cuda126 yet
37+
cuda_version: ["128", "126", "124", "118"]
3838
steps:
3939
- name: Checkout PyTorch
4040
uses: actions/checkout@v4

0 commit comments

Comments
 (0)
0