[CI] Point diffusion CI writes to sgl-project/ci-data-diffusion (#31983)

Co-authored-by: Kangyan Zhou <kangyan.zhou@radixark.ai>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Alison Shao <a.shao@wustl.edu>
This commit is contained in:
Kangyan-Zhou
2026-07-21 19:15:15 -07:00
committed by GitHub
co-authored by Kangyan Zhou Claude Opus 4.8 Alison Shao
parent 3217b7e3ce
commit 93cb9a5482
8 changed files with 70 additions and 30 deletions
+13 -3
View File
@@ -19,7 +19,7 @@ on:
default: ''
type: string
publish_target_dir:
description: 'Remote target directory in sgl-project/ci-data. Leave empty to use diffusion-ci/consistency_gt/sglang_generated/ascend.'
description: 'Remote target directory in sgl-project/ci-data-diffusion. Leave empty to use diffusion-ci/consistency_gt/sglang_generated/ascend.'
required: false
default: ''
type: string
@@ -61,6 +61,16 @@ jobs:
with:
python-version: '3.10'
- name: Verify write access to sgl-project/ci-data-diffusion
env:
GH_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
run: |
if [ "$(gh api repos/sgl-project/ci-data-diffusion --jq .permissions.push)" != "true" ]; then
echo "::error::GH_PAT_FOR_NIGHTLY_CI_DATA lacks write (push) access to sgl-project/ci-data-diffusion. Grant it before running GT generation."
exit 1
fi
echo "OK: write access to sgl-project/ci-data-diffusion confirmed"
- name: Compute partitions
env:
USE_NPU_CONFIGS: true
@@ -135,7 +145,7 @@ jobs:
path: python/${{ env.OUTPUT_NAME }}
retention-days: 7
- name: Publish GT images to sgl-project/ci-data
- name: Publish GT images to sgl-project/ci-data-diffusion
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
run: |
@@ -205,7 +215,7 @@ jobs:
path: python/${{ env.OUTPUT_NAME }}
retention-days: 7
- name: Publish GT images to sgl-project/ci-data
- name: Publish GT images to sgl-project/ci-data-diffusion
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_NIGHTLY_CI_DATA }}
run: |