Update build.yml (#9184)

build rpc-server for windows cuda
This commit is contained in:
awatuna 2024-09-06 06:34:36 +08:00 committed by GitHub
parent 1031771faa
commit 32b2ec88bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -857,7 +857,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=ON
cmake .. -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=ON -DGGML_RPC=ON
cmake --build . --config Release -j $((${env:NUMBER_OF_PROCESSORS} - 1)) -t ggml
cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}