[Ci Monitor] Auto uploaded performance data to sglang_ci_data repo (#10976)
This commit is contained in:
9
.github/workflows/ci-monitor.yml
vendored
9
.github/workflows/ci-monitor.yml
vendored
@@ -2,8 +2,7 @@ name: CI Monitor
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run every 6 hours at 00:00, 06:00, 12:00, 18:00 UTC
|
||||
- cron: '0 */6 * * *'
|
||||
- cron: '0 */12 * * *'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
limit:
|
||||
@@ -16,6 +15,10 @@ concurrency:
|
||||
group: ci-monitor-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
ci-monitor:
|
||||
if: github.repository == 'sgl-project/sglang'|| github.event_name == 'pull_request'
|
||||
@@ -50,7 +53,7 @@ jobs:
|
||||
PYTHONIOENCODING: utf-8
|
||||
run: |
|
||||
cd scripts/ci_monitor
|
||||
python ci_analyzer_perf.py --token $GITHUB_TOKEN --limit 500 --output-dir performance_tables_$(date +%Y%m%d_%H%M%S)
|
||||
python ci_analyzer_perf.py --token $GITHUB_TOKEN --limit ${{ github.event.inputs.limit || '1000' }} --output-dir performance_tables_$(date +%Y%m%d_%H%M%S) --upload-to-github
|
||||
|
||||
- name: Upload Analysis Results
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user