Skip to content

Commit

Permalink
Merge pull request #2 from 81549361/dry-sample
Browse files Browse the repository at this point in the history
Dry sample
  • Loading branch information
81549361 authored Sep 6, 2024
2 parents 5fafcac + 4b1e394 commit 5348cb5
Show file tree
Hide file tree
Showing 170 changed files with 4,945 additions and 2,142 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/accuracy-test.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/cache-purge.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/e2e-test.yml

This file was deleted.

11 changes: 7 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: Lint

on: [push, pull_request]
on: [pull_request]

jobs:
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8

- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9

- name: Install pre-commit hook
run: |
python -m pip install pre-commit
pre-commit install
- name: Linting
run: pre-commit run --all-files
47 changes: 0 additions & 47 deletions .github/workflows/moe-test.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/nightly-eval.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Nightly Evaluation

on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- main
paths:
- "python/sglang/version.py"
workflow_dispatch:

concurrency:
group: nightly-eval-${{ github.ref }}
cancel-in-progress: true

jobs:
nightly-eval-2-gpu:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: 2-gpu-runner
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e "python[all]"
pip install flashinfer -i https://flashinfer.ai/whl/cu121/torch2.4/ --force-reinstall
- name: Nightly gsm8k Accuracy
timeout-minutes: 60
run: |
cd test/srt
python3 test_nightly_gsm8k_eval.py
Loading

0 comments on commit 5348cb5

Please sign in to comment.