Skip to content

Commit 231f936

Browse files
noemotiovonnoemotiovon
and
noemotiovon
authored
cann: dockerfile and doc adjustment (#10302)
Co-authored-by: noemotiovon <[email protected]>
1 parent 4802ad3 commit 231f936

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.devops/llama-cli-cann.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG ASCEND_VERSION=8.0.rc2.alpha003-910b-openeuler22.03-py3.8
22

3-
FROM cosdt/cann:$ASCEND_VERSION AS build
3+
FROM ascendai/cann:$ASCEND_VERSION AS build
44

55
WORKDIR /app
66

@@ -26,7 +26,7 @@ RUN echo "Building with static libs" && \
2626
cmake --build build --config Release --target llama-cli
2727

2828
# TODO: use image with NNRT
29-
FROM cosdt/cann:$ASCEND_VERSION AS runtime
29+
FROM ascendai/cann:$ASCEND_VERSION AS runtime
3030
COPY --from=build /app/build/bin/llama-cli /llama-cli
3131

3232
ENV LC_ALL=C.utf8

docs/build.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ cmake --build build --config release
375375

376376
You can test with:
377377

378-
`./build/llama-cli -m PATH_TO_MODEL -p "Building a website can be done in 10 steps:" -ngl 32`
378+
`./build/bin/llama-cli -m PATH_TO_MODEL -p "Building a website can be done in 10 steps:" -ngl 32`
379379

380380
If the fllowing info is output on screen, you are using `llama.cpp by CANN backend`:
381381
```bash

0 commit comments

Comments
 (0)