Spaces:
Running
Running
R0CKSTAR
commited on
musa: upgrade musa sdk to rc4.2.0 (#3324)
Browse files* musa: upgrade musa sdk to 4.2.0
Signed-off-by: Xiaodong Ye <[email protected]>
* musa: restore rc in docker image tag
Signed-off-by: Xiaodong Ye <[email protected]>
---------
Signed-off-by: Xiaodong Ye <[email protected]>
- .devops/main-musa.Dockerfile +3 -3
- README.md +1 -1
.devops/main-musa.Dockerfile
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
ARG UBUNTU_VERSION=22.04
|
| 2 |
# This needs to generally match the container host's environment.
|
| 3 |
-
ARG MUSA_VERSION=rc4.0
|
| 4 |
# Target the MUSA build image
|
| 5 |
-
ARG BASE_MUSA_DEV_CONTAINER=mthreads/musa:${MUSA_VERSION}-
|
| 6 |
# Target the MUSA runtime image
|
| 7 |
-
ARG BASE_MUSA_RUN_CONTAINER=mthreads/musa:${MUSA_VERSION}-
|
| 8 |
|
| 9 |
FROM ${BASE_MUSA_DEV_CONTAINER} AS build
|
| 10 |
WORKDIR /app
|
|
|
|
| 1 |
ARG UBUNTU_VERSION=22.04
|
| 2 |
# This needs to generally match the container host's environment.
|
| 3 |
+
ARG MUSA_VERSION=rc4.2.0
|
| 4 |
# Target the MUSA build image
|
| 5 |
+
ARG BASE_MUSA_DEV_CONTAINER=mthreads/musa:${MUSA_VERSION}-devel-ubuntu${UBUNTU_VERSION}-amd64
|
| 6 |
# Target the MUSA runtime image
|
| 7 |
+
ARG BASE_MUSA_RUN_CONTAINER=mthreads/musa:${MUSA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}-amd64
|
| 8 |
|
| 9 |
FROM ${BASE_MUSA_DEV_CONTAINER} AS build
|
| 10 |
WORKDIR /app
|
README.md
CHANGED
|
@@ -386,7 +386,7 @@ Run the inference examples as usual, for example:
|
|
| 386 |
## Moore Threads GPU support
|
| 387 |
|
| 388 |
With Moore Threads cards the processing of the models is done efficiently on the GPU via muBLAS and custom MUSA kernels.
|
| 389 |
-
First, make sure you have installed `MUSA SDK rc4.0
|
| 390 |
|
| 391 |
Now build `whisper.cpp` with MUSA support:
|
| 392 |
|
|
|
|
| 386 |
## Moore Threads GPU support
|
| 387 |
|
| 388 |
With Moore Threads cards the processing of the models is done efficiently on the GPU via muBLAS and custom MUSA kernels.
|
| 389 |
+
First, make sure you have installed `MUSA SDK rc4.2.0`: https://developer.mthreads.com/sdk/download/musa?equipment=&os=&driverVersion=&version=4.2.0
|
| 390 |
|
| 391 |
Now build `whisper.cpp` with MUSA support:
|
| 392 |
|