docs: 更新README.md并添加Dockerfile
更新README.md以包含上游仓库的同步标签信息 添加Dockerfile用于构建MUSA 环境下的应用
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
FROM mthreads/musa:rc4.3.0-devel-ubuntu22.04-amd64 as builder
|
||||||
|
ADD . /src
|
||||||
|
WORKDIR /src
|
||||||
|
RUN cmake -B build \
|
||||||
|
-DGGML_MUSA=ON -DLLAMA_OPENSSL=OFF -DGGML_CUDA_NO_VMM=ON -DMUSA_ARCHITECTURES=${MUSA_ARCH:-22} \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release &&\
|
||||||
|
cmake --build build -j
|
||||||
|
|
||||||
|
FROM mthreads/musa:rc4.3.0-runtime-ubuntu22.04-amd64
|
||||||
|
COPY --from=builder /src/build/bin /app
|
||||||
|
WORKDIR /app
|
||||||
|
ENTRYPOINT [ "/app/llama-cli" ]
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# llama.cpp
|
# llama.cpp
|
||||||
|
|
||||||
> Sync from upstream `llama.cpp` repository
|
> Sync from upstream `llama.cpp` repository tag `b7516`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user