[diffusion] CI: change ground truth repo (#24219)

This commit is contained in:
Mick
2026-05-01 21:25:40 -07:00
committed by GitHub
parent 63f225ca2e
commit b7d4647568
3 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -19,7 +19,7 @@ on:
default: '' default: ''
type: string type: string
publish_target_dir: publish_target_dir:
description: 'Remote target directory in sglang-ci-data. Leave empty to use diffusion-ci/consistency_gt/sglang_generated.' description: 'Remote target directory in sgl-project/ci-data. Leave empty to use diffusion-ci/consistency_gt/sglang_generated.'
required: false required: false
default: '' default: ''
type: string type: string
@@ -136,7 +136,7 @@ jobs:
path: python/${{ env.OUTPUT_NAME }} path: python/${{ env.OUTPUT_NAME }}
retention-days: 7 retention-days: 7
- name: Publish GT images to sglang-bot/sglang-ci-data - name: Publish GT images to sgl-project/ci-data
env: env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }} GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
run: | run: |
@@ -202,7 +202,7 @@ jobs:
path: python/${{ env.OUTPUT_NAME }} path: python/${{ env.OUTPUT_NAME }}
retention-days: 7 retention-days: 7
- name: Publish GT images to sglang-bot/sglang-ci-data - name: Publish GT images to sgl-project/ci-data
env: env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }} GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
run: | run: |
@@ -268,7 +268,7 @@ jobs:
path: python/${{ env.OUTPUT_NAME }} path: python/${{ env.OUTPUT_NAME }}
retention-days: 7 retention-days: 7
- name: Publish GT images to sglang-bot/sglang-ci-data - name: Publish GT images to sgl-project/ci-data
env: env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }} GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
run: | run: |
@@ -561,13 +561,13 @@ Consider updating perf_baselines.json with the snippets below:
--- MISSING GROUND TRUTH DETECTED --- --- MISSING GROUND TRUTH DETECTED ---
GT image(s) not found for '{case.id}'. GT image(s) not found for '{case.id}'.
Add the expected file(s) to sglang-ci-data in diffusion-ci/consistency_gt/sglang_generated/ with naming (n=num_gpus). Add the expected file(s) to sgl-project/ci-data in diffusion-ci/consistency_gt/sglang_generated/ with naming (n=num_gpus).
Image: {case.id}_{{n}}gpu.<ext> (ext from output_format: png, jpg, webp) Image: {case.id}_{{n}}gpu.<ext> (ext from output_format: png, jpg, webp)
Video: {case.id}_{{n}}gpu_frame_0.png, {case.id}_{{n}}gpu_frame_mid.png, {case.id}_{{n}}gpu_frame_last.png Video: {case.id}_{{n}}gpu_frame_0.png, {case.id}_{{n}}gpu_frame_mid.png, {case.id}_{{n}}gpu_frame_last.png
For this case, expected file(s): {names} For this case, expected file(s): {names}
Repository: https://github.com/sglang-bot/sglang-ci-data (path: diffusion-ci/consistency_gt/sglang_generated/) Repository: https://github.com/sgl-project/ci-data (path: diffusion-ci/consistency_gt/sglang_generated/)
(Optional) Per-case override in consistency_threshold.json: (Optional) Per-case override in consistency_threshold.json:
"cases": {{ "cases": {{
@@ -1,5 +1,5 @@
""" """
Publish diffusion CI ground-truth images to sglang-bot/sglang-ci-data Publish diffusion CI ground-truth images to sgl-project/ci-data
via the GitHub API (same pattern as publish_traces.py). via the GitHub API (same pattern as publish_traces.py).
""" """
@@ -41,8 +41,8 @@ else:
verify_token_permissions, verify_token_permissions,
) )
REPO_OWNER = "sglang-bot" REPO_OWNER = "sgl-project"
REPO_NAME = "sglang-ci-data" REPO_NAME = "ci-data"
BRANCH = "main" BRANCH = "main"
DEFAULT_TARGET_DIR = "diffusion-ci/consistency_gt/sglang_generated" DEFAULT_TARGET_DIR = "diffusion-ci/consistency_gt/sglang_generated"