Skip to content

Commit

Permalink
misc: update e2e test config
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyncs committed Aug 10, 2024
1 parent 7599bad commit b2373bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
jobs:
e2e-test:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: self-hosted
runs-on: bench

steps:
- name: Checkout code
Expand All @@ -38,6 +38,7 @@ jobs:
- name: Benchmark Serving Throughput
run: |
python3 -m sglang.launch_server --model meta-llama/Meta-Llama-3.1-8B-Instruct --port 8413 --disable-radix-cache &
SERVER_PID=$!
echo "Waiting for server to start..."
for i in {1..120}; do
Expand All @@ -52,7 +53,7 @@ jobs:
sleep 1
done
cd $HOME && python3 -m sglang.bench_serving --backend sglang --port 8413 --dataset-name random --num-prompts 3000 --random-input 256 --random-output 512
cd $HOME && python3 -m sglang.bench_serving --backend sglang --port 8413 --dataset-name random --num-prompts 500 --random-input 4096 --random-output 2048
echo "Stopping server..."
kill -9 $(ps aux | grep sglang | grep Meta-Llama-3.1-8B-Instruct | grep -- "--port 8413" | grep -v grep | awk '{print $2}')
kill -9 $SERVER_PID
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
jobs:
unit-test:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: self-hosted
runs-on: unit

steps:
- name: Checkout code
Expand Down
1 change: 0 additions & 1 deletion python/sglang/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Code Structures


- `lang`: The frontend language.
- `srt`: The backend engine for running local models. (SRT = SGLang Runtime).
- `test`: Test utilities.
Expand Down

0 comments on commit b2373bb

Please sign in to comment.