File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
ARG ASCEND_VERSION=8.0.rc2.alpha003-910b-openeuler22.03-py3.8
2
2
3
- FROM cosdt /cann:$ASCEND_VERSION AS build
3
+ FROM ascendai /cann:$ASCEND_VERSION AS build
4
4
5
5
WORKDIR /app
6
6
@@ -26,7 +26,7 @@ RUN echo "Building with static libs" && \
26
26
cmake --build build --config Release --target llama-cli
27
27
28
28
# TODO: use image with NNRT
29
- FROM cosdt /cann:$ASCEND_VERSION AS runtime
29
+ FROM ascendai /cann:$ASCEND_VERSION AS runtime
30
30
COPY --from=build /app/build/bin/llama-cli /llama-cli
31
31
32
32
ENV LC_ALL=C.utf8
Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ cmake --build build --config release
375
375
376
376
You can test with:
377
377
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`
379
379
380
380
If the fllowing info is output on screen, you are using ` llama.cpp by CANN backend` :
381
381
` ` ` bash
You can’t perform that action at this time.
0 commit comments