Skip to content

Commit

Permalink
ci(test_server): update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <[email protected]>
  • Loading branch information
apepkuss committed Sep 23, 2024
1 parent 58a75c2 commit 862a419
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ jobs:
run: |
curl -LO https://github.com/WasmEdge/WasmEdge/releases/download/${{ matrix.wasmedge_version }}/WasmEdge-plugin-wasi_nn-whisper-${{ matrix.wasmedge_version }}-ubuntu20.04_x86_64.tar.gz
tar -xzvf WasmEdge-plugin-wasi_nn-whisper-${{ matrix.wasmedge_version }}-ubuntu20.04_x86_64.tar.gz
mv libwasmedgePluginWasiNN.so $HOME/.wasmedge/plugin/
mkdir -p $HOME/whisper/plugin/
ls -al
ls -al $HOME/.wasmedge/plugin/
mv libwasmedgePluginWasiNN.so $HOME/whisper/plugin/
ls -al $HOME/whisper/plugin/
- name: Install Hurl
run: |
Expand Down Expand Up @@ -97,7 +99,7 @@ jobs:
- name: Start whisper-api-server at 10087 port
run: |
nohup $HOME/.wasmedge/bin/wasmedge --dir .:. whisper-api-server.wasm -m ggml-medium.bin --socket-addr 0.0.0.0:10087 > ./start-llamaedge.log 2>&1 &
WASMEDGE_PLUGIN_PATH=~/whisper/plugin nohup $HOME/.wasmedge/bin/wasmedge --dir .:. whisper-api-server.wasm -m ggml-medium.bin --socket-addr 0.0.0.0:10087 > ./start-llamaedge.log 2>&1 &
sleep 5
cat start-llamaedge.log
Expand Down

0 comments on commit 862a419

Please sign in to comment.