mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-10-11 07:20:33 +02:00
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:
+1
-1
@@ -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"
|
||||||
|
|||||||
@@ -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}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user