Skip to content

Commit

Permalink
[router] use 2-gpu-runner (#2368)
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronHsu authored Dec 6, 2024
1 parent 337fe53 commit fc6387e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-test-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
e2e-rust:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: 1-gpu-runner
runs-on: 2-gpu-runner
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
6 changes: 5 additions & 1 deletion rust/py_test/test_launch_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ def test_mmlu(self):
)

metrics = run_eval(args)
self.assertGreaterEqual(metrics["score"], 0.65)
score = metrics["score"]
THRESHOLD = 0.65
passed = score >= THRESHOLD
msg = f"MMLU test {'passed' if passed else 'failed'} with score {score:.3f} (threshold: {THRESHOLD})"
self.assertGreaterEqual(score, THRESHOLD, msg)


if __name__ == "__main__":
Expand Down

0 comments on commit fc6387e

Please sign in to comment.