mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2025-12-12 13:28:37 +00:00
feat: upgrade musa sdk to rc4.2.0 (#732)
This commit is contained in:
parent
f54524f620
commit
8c3c788f31
@ -1,6 +1,7 @@
|
|||||||
ARG MUSA_VERSION=rc3.1.1
|
ARG MUSA_VERSION=rc4.2.0
|
||||||
|
ARG UBUNTU_VERSION=22.04
|
||||||
|
|
||||||
FROM mthreads/musa:${MUSA_VERSION}-devel-ubuntu22.04 as build
|
FROM mthreads/musa:${MUSA_VERSION}-devel-ubuntu${UBUNTU_VERSION}-amd64 as build
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y ccache cmake git
|
RUN apt-get update && apt-get install -y ccache cmake git
|
||||||
|
|
||||||
@ -15,7 +16,7 @@ RUN mkdir build && cd build && \
|
|||||||
-DSD_MUSA=ON -DCMAKE_BUILD_TYPE=Release && \
|
-DSD_MUSA=ON -DCMAKE_BUILD_TYPE=Release && \
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release
|
||||||
|
|
||||||
FROM mthreads/musa:${MUSA_VERSION}-runtime-ubuntu22.04 as runtime
|
FROM mthreads/musa:${MUSA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}-amd64 as runtime
|
||||||
|
|
||||||
COPY --from=build /sd.cpp/build/bin/sd /sd
|
COPY --from=build /sd.cpp/build/bin/sd /sd
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user