From df89a76336da64bc75fb525752b1fa374b0afa93 Mon Sep 17 00:00:00 2001 From: Xin Liu Date: Mon, 16 Sep 2024 14:26:04 +0900 Subject: [PATCH] ci(test_api_server): update workflow Signed-off-by: Xin Liu --- .github/workflows/test_api_server.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_api_server.yml b/.github/workflows/test_api_server.yml index 8bfd67c..c0faf6d 100644 --- a/.github/workflows/test_api_server.yml +++ b/.github/workflows/test_api_server.yml @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - wasmedge_version: [0.14.0, 0.14.1-rc.5] + wasmedge_version: [0.14.0] steps: - name: Clone project id: checkout @@ -76,17 +76,15 @@ jobs: - name: Start rag-api-server run: | nohup $HOME/.wasmedge/bin/wasmedge --dir .:. --nn-preload default:GGML:AUTO:Qwen2-1.5B-Instruct-Q3_K_M.gguf --nn-preload embedding:GGML:AUTO:nomic-embed-text-v1.5-f16.gguf rag-api-server.wasm --model-name Qwen2-1.5B-Instruct,nomic-embed-text-v1.5 --ctx-size 4096,512 --batch-size 16,512 --prompt-template chatml,embedding --socket-addr 0.0.0.0:8080 > ./start-llamaedge.log 2>&1 & - sleep 5 + sleep 10 cat start-llamaedge.log - name: Run test_chat.hurl run: | - sleep 5 hurl --test --jobs 1 ./tests/test_chat.hurl - name: Run test_embeddings.hurl run: | - sleep 5 hurl --test --jobs 1 ./tests/test_embeddings.hurl - name: Stop rag-api-server for testing chat completions