File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1+ FROM scratch
2+ COPY --chown=0:0 --chmod=755 llama-server /llama-server
3+ ENV LC_ALL=C.utf8
4+ ENTRYPOINT ["/llama-server" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -50,20 +50,20 @@ jobs:
5050 run : |
5151 . /opt/intel/oneapi/setvars.sh
5252 cmake repo -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DCMAKE_C_FLAGS="-Ofast -xCORE-AVX2" -DCMAKE_CXX_FLAGS="-Ofast -xCORE-AVX2" -DLLAMA_NATIVE=OFF -DLLAMA_STATIC=ON -DLLAMA_BUILD_SERVER=ON -DLLAMA_OPENMP=OFF
53- cmake --build build --config Release --target server -j ${{ steps.cpu-cores.outputs.count }}
54- strip build/bin/server
53+ cmake --build build --config Release --target llama- server -j ${{ steps.cpu-cores.outputs.count }}
54+ strip build/bin/llama- server
5555
5656 - name : Upload build artifact
5757 uses : actions/upload-artifact@v4
5858 with :
5959 name : server-${{ matrix.ssl }}-oneapi
60- path : build/bin/server
60+ path : build/bin/llama- server
6161 if-no-files-found : error
6262
6363 - name : Build and push Docker image
6464 uses : macbre/push-to-ghcr@v13
6565 with :
66- dockerfile : .devops/server.Dockerfile
66+ dockerfile : .devops/llama- server.Dockerfile
6767 context : build/bin
6868 image_name : ${{ github.repository }}
6969 image_tag : server-${{ matrix.ssl }}-oneapi
Original file line number Diff line number Diff line change @@ -59,21 +59,21 @@ jobs:
5959 - name : CMake
6060 run : |
6161 cmake repo -B build -DCMAKE_BUILD_TYPE=Release -DLLAMA_NATIVE=OFF -DLLAMA_STATIC=ON -DLLAMA_BUILD_SERVER=ON -DLLAMA_OPENMP=OFF ${{ matrix.ssl_defines }} ${{ matrix.avx_defines }}
62- cmake --build build --config Release --target server -j ${{ steps.cpu-cores.outputs.count }}
63- strip build/bin/server
62+ cmake --build build --config Release --target llama- server -j ${{ steps.cpu-cores.outputs.count }}
63+ strip build/bin/llama- server
6464 shell : alpine.sh {0}
6565
6666 - name : Upload build artifact
6767 uses : actions/upload-artifact@v4
6868 with :
6969 name : server-${{ matrix.ssl }}-${{ matrix.avx }}
70- path : build/bin/server
70+ path : build/bin/llama- server
7171 if-no-files-found : error
7272
7373 - name : Build and push Docker image
7474 uses : macbre/push-to-ghcr@v13
7575 with :
76- dockerfile : .devops/server.Dockerfile
76+ dockerfile : .devops/llama- server.Dockerfile
7777 context : build/bin
7878 image_name : ${{ github.repository }}
7979 image_tag : server-${{ matrix.ssl }}-${{ matrix.avx }}
You can’t perform that action at this time.
0 commit comments