musa: drop mp_21 from the default architectures (#30203)

* musa: drop mp_21 from the default architectures

Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>

* Address review comments

Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>

* Address review comments

Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>

---------

Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
This commit is contained in:
R0CKSTAR
2026-10-09 12:51:24 +02:00
committed by GitHub
parent e94acad853
commit 86a2835320
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -351,7 +351,7 @@ cmake --build build --config Release
#### Override Compute Capability Specifications #### Override Compute Capability Specifications
By default, all supported compute capabilities are enabled. To customize this behavior, you can specify the `MUSA_ARCHITECTURES` option in the CMake command: By default, compute capabilities `2.2` (MTT S4000) and `3.1` (MTT S5000) are enabled, compute capability `2.1` (MTT S70, MTT S80, MTT S3000) is deprecated and has to be enabled explicitly. To customize this behavior, you can specify the `MUSA_ARCHITECTURES` option in the CMake command:
```bash ```bash
cmake -B build -DGGML_MUSA=ON -DMUSA_ARCHITECTURES="31" cmake -B build -DGGML_MUSA=ON -DMUSA_ARCHITECTURES="31"
+4 -1
View File
@@ -21,7 +21,10 @@ if (MUSAToolkit_FOUND)
message(STATUS "MUSA Toolkit found") message(STATUS "MUSA Toolkit found")
if (NOT DEFINED MUSA_ARCHITECTURES) if (NOT DEFINED MUSA_ARCHITECTURES)
set(MUSA_ARCHITECTURES "21;22;31") set(MUSA_ARCHITECTURES "22;31")
endif()
if ("21" IN_LIST MUSA_ARCHITECTURES)
message(WARNING "MUSA architecture 21 (MTT S70, MTT S80, MTT S3000) is deprecated and no longer tested")
endif() endif()
message(STATUS "Using MUSA architectures: ${MUSA_ARCHITECTURES}") message(STATUS "Using MUSA architectures: ${MUSA_ARCHITECTURES}")