94057c3d3e
PR Test (NPU) / check-changes (push) Has been cancelled
PR Test (NPU) / pr-gate (push) Has been cancelled
PR Test (NPU) / set-image-config (push) Has been cancelled
PR Test (NPU) / stage-b-test-1-npu-a2 (0) (push) Has been cancelled
PR Test (NPU) / stage-b-test-1-npu-a2 (1) (push) Has been cancelled
PR Test (NPU) / stage-b-test-2-npu-a2 (0) (push) Has been cancelled
PR Test (NPU) / stage-b-test-2-npu-a2 (1) (push) Has been cancelled
PR Test (NPU) / stage-b-test-4-npu-a3 (push) Has been cancelled
PR Test (NPU) / stage-b-test-16-npu-a3 (push) Has been cancelled
PR Test (NPU) / multimodal-gen-test-1-npu-a3 (push) Has been cancelled
PR Test (NPU) / multimodal-gen-test-2-npu-a3 (push) Has been cancelled
PR Test (Arm64) / pr-gate (push) Has been cancelled
PR Test (Arm64) / check-changes (push) Has been cancelled
PR Test (Arm64) / build-test (push) Has been cancelled
PR Test (sgl-router) / gate (push) Has been cancelled
PR Test (sgl-router) / tier-1 — lint (push) Has been cancelled
PR Test (sgl-router) / tier-2 — build + test (push) Has been cancelled
PR Test (sgl-router) / tier-3 — docker (placeholder) (push) Has been cancelled
PR Test (sgl-router) / tier-3 — k8s integration (push) Has been cancelled
PR Test (sgl-router) / tier-3 — e2e (push) Has been cancelled
PR Test (sgl-router) / finish (push) Has been cancelled
PR Test (NPU) / single-node-poc (map[name:qwen3_6_27b_w8a8_1p_in64k_out1k_50ms runner:linux-aarch64-a3-2 test_case:test/registered/ascend/performance/qwen3_6_27b/test_npu_qwen3_6_27b_w8a8_1p_in64k_out1k_50ms.py test_type:perf]) (push) Has been cancelled
PR Test (NPU) / pr-test-npu-finish (push) Has been cancelled
PR Test (Xeon) / pr-gate (push) Has been cancelled
PR Test (Xeon) / check-changes (push) Has been cancelled
PR Test (Xeon) / build-test (, xeon-gnr, base-b-test-cpu) (push) Has been cancelled
PR Test (XPU) / check-changes (push) Has been cancelled
PR Test (XPU) / pr-gate (push) Has been cancelled
PR Test (XPU) / stage-a-test-1-gpu-xpu (push) Has been cancelled
PR Test (XPU) / wait-for-stage-a (push) Has been cancelled
PR Test (XPU) / stage-b-test-1-gpu-xpu (push) Has been cancelled
PR Test (XPU) / finish (push) Has been cancelled
CI Model Inventory / build-inventory (push) Has been cancelled
Lint / lint (push) Has been cancelled
PR Benchmark (SMG Components) / Benchmark Compilation Check (push) Has been cancelled
PR Benchmark (SMG Components) / Benchmark - Manual Policy (push) Has been cancelled
PR Benchmark (SMG Components) / Benchmark - Request Processing (push) Has been cancelled
PR Benchmark (SMG Components) / Benchmark Summary (push) Has been cancelled
PR Test (SMG) / build-wheel (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on windows (x86_64 - auto) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on macos (x86_64 - auto) (push) Has been cancelled
PR Test (SMG) / python-unit-tests (push) Has been cancelled
PR Test (SMG) / unit-tests (push) Has been cancelled
PR Test (SMG) / benchmarks (push) Has been cancelled
PR Test (SMG) / chat-completions (push) Has been cancelled
PR Test (SMG) / chat-completions-4gpu (push) Has been cancelled
PR Test (SMG) / e2e (push) Has been cancelled
PR Test (SMG) / docker-build-test (push) Has been cancelled
PR Test (SMG) / k8s-integration (push) Has been cancelled
PR Test (SMG) / finish (push) Has been cancelled
PR Test (SMG) / summarize-benchmarks (push) Has been cancelled
Release SGLang Model Gateway Docker Image / publish (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on macos (aarch64 - auto) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on linux (aarch64 - auto) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on linux (x86_64 - auto) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on linux (aarch64 - musllinux_1_1) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / build on linux (x86_64 - musllinux_1_1) (push) Has been cancelled
Release SGLang Model Gateway to PyPI / Build SDist (push) Has been cancelled
Release SGLang Model Gateway to PyPI / Upload to PyPI (push) Has been cancelled
Release SGLang Kernels / build-cu129-matrix (aarch64, 12.9, 3.10, arm-kernel-build-node) (push) Has been cancelled
Release SGLang Kernels / build-cu129-matrix (x86_64, 12.9, 3.10, x64-kernel-build-node) (push) Has been cancelled
Release SGLang Kernels / release-cu129 (push) Has been cancelled
Release SGLang Kernels / build-cu130-matrix (aarch64, 13.0, 3.10, arm-kernel-build-node) (push) Has been cancelled
Release SGLang Kernels / build-cu130-matrix (x86_64, 13.0, 3.10, x64-kernel-build-node) (push) Has been cancelled
Release SGLang Kernels / release-cu130 (push) Has been cancelled
Release SGLang Kernels / build-rocm-matrix (3.10, 700) (push) Has been cancelled
Release SGLang Kernels / build-rocm-matrix (3.10, 720) (push) Has been cancelled
Release SGLang Kernels / release-rocm700 (push) Has been cancelled
Release SGLang Kernels / release-rocm720 (push) Has been cancelled
Release SGLang Kernels / build-musa43 (43, 3.10) (push) Has been cancelled
Release SGLang Kernels / release-musa43 (push) Has been cancelled
506 lines
17 KiB
YAML
506 lines
17 KiB
YAML
name: PR Test - Multimodal Gen
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
multimodal_gen:
|
|
required: true
|
|
type: string
|
|
sgl_kernel:
|
|
required: true
|
|
type: string
|
|
runner_config:
|
|
required: true
|
|
type: string
|
|
runs_on_map:
|
|
required: true
|
|
type: string
|
|
continue_on_error:
|
|
required: false
|
|
type: string
|
|
default: 'false'
|
|
git_ref:
|
|
required: false
|
|
type: string
|
|
default: ''
|
|
test_parallel_dispatch:
|
|
required: false
|
|
type: string
|
|
default: 'false'
|
|
caller_needs_failure:
|
|
required: false
|
|
type: string
|
|
default: 'false'
|
|
skip_pr_test_health_check:
|
|
required: false
|
|
type: string
|
|
default: 'false'
|
|
|
|
# Workflow-level env is NOT inherited from the caller in reusable workflows.
|
|
# The github context (including github.event_name) IS inherited from the caller.
|
|
env:
|
|
SGLANG_IS_IN_CI: true
|
|
SGLANG_CUDA_COREDUMP: "1"
|
|
PR_TEST_BYPASS_MAINTENANCE_ON_MAIN: ${{ github.ref == 'refs/heads/main' && 'true' || 'false' }}
|
|
SKIP_PR_TEST_HEALTH_CHECK: ${{ inputs.skip_pr_test_health_check == 'true' }}
|
|
|
|
jobs:
|
|
compute-diffusion-partitions:
|
|
if: inputs.multimodal_gen == 'true'
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
matrix-1gpu: ${{ steps.compute.outputs.matrix-1gpu }}
|
|
matrix-2gpu: ${{ steps.compute.outputs.matrix-2gpu }}
|
|
partition-count-1gpu: ${{ steps.compute.outputs['partition-count-1gpu'] }}
|
|
partition-count-2gpu: ${{ steps.compute.outputs['partition-count-2gpu'] }}
|
|
plan-1gpu: ${{ steps.compute.outputs.plan-1gpu }}
|
|
plan-2gpu: ${{ steps.compute.outputs.plan-2gpu }}
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ inputs.git_ref || github.sha }}
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.10'
|
|
|
|
- name: Compute partitions
|
|
id: compute
|
|
run: |
|
|
python scripts/ci/utils/diffusion/compute_diffusion_partitions.py --min-time 1200 --target-time 1800 --max-time 2400 --max-partitions 10
|
|
|
|
multimodal-gen-test-1-gpu:
|
|
needs: compute-diffusion-partitions
|
|
if: |
|
|
always() &&
|
|
needs.compute-diffusion-partitions.result == 'success' &&
|
|
needs.compute-diffusion-partitions.outputs.matrix-1gpu != '{"include":[]}' &&
|
|
((github.event_name == 'schedule' || inputs.test_parallel_dispatch == 'true') || (inputs.caller_needs_failure != 'true' && !cancelled())) &&
|
|
inputs.multimodal_gen == 'true'
|
|
runs-on: 1-gpu-h100
|
|
timeout-minutes: 240
|
|
strategy:
|
|
fail-fast: false
|
|
matrix: ${{ fromJson(needs.compute-diffusion-partitions.outputs.matrix-1gpu) }}
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ inputs.git_ref || github.sha }}
|
|
|
|
- uses: ./.github/actions/check-pr-test-health
|
|
|
|
- uses: ./.github/actions/check-maintenance
|
|
|
|
- name: Download artifacts
|
|
if: inputs.sgl_kernel == 'true'
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: sgl-kernel/dist/
|
|
merge-multiple: true
|
|
pattern: wheel-python3.10-cuda*
|
|
|
|
- name: Install dependencies
|
|
timeout-minutes: 20
|
|
run: |
|
|
CUSTOM_BUILD_SGL_KERNEL=${{inputs.sgl_kernel}} bash scripts/ci/cuda/ci_install_dependency.sh diffusion
|
|
- name: Run diffusion server tests
|
|
timeout-minutes: 240
|
|
env:
|
|
RUNAI_STREAMER_MEMORY_LIMIT: 0
|
|
CONTINUE_ON_ERROR_FLAG: ${{ inputs.continue_on_error == 'true' && '--continue-on-error' || '' }}
|
|
PARTITION_PLAN_JSON: ${{ needs.compute-diffusion-partitions.outputs.plan-1gpu }}
|
|
SGLANG_DIFFUSION_ARTIFACT_DIR: ${{ github.workspace }}/diffusion-failures
|
|
run: |
|
|
cd python
|
|
python3 sglang/multimodal_gen/test/run_suite.py \
|
|
--suite 1-gpu \
|
|
--partition-id ${{ matrix.part }} \
|
|
--total-partitions ${{ needs.compute-diffusion-partitions.outputs['partition-count-1gpu'] }} \
|
|
--partition-plan-json "$PARTITION_PLAN_JSON" \
|
|
$CONTINUE_ON_ERROR_FLAG
|
|
|
|
- name: Upload execution report
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: diffusion-report-1gpu-${{ matrix.part }}
|
|
path: python/sglang/multimodal_gen/test/execution_report_*.json
|
|
retention-days: 1
|
|
|
|
- name: Upload diffusion failure artifacts
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: diffusion-failures-1gpu-${{ matrix.part }}-${{ github.run_attempt }}
|
|
path: diffusion-failures/
|
|
if-no-files-found: ignore
|
|
retention-days: 7
|
|
|
|
- uses: ./.github/actions/upload-cuda-coredumps
|
|
if: failure()
|
|
with:
|
|
artifact-suffix: ${{ matrix.part }}
|
|
|
|
multimodal-gen-test-1-5090:
|
|
if: |
|
|
((github.event_name == 'schedule' || inputs.test_parallel_dispatch == 'true') || (inputs.caller_needs_failure != 'true' && !cancelled())) &&
|
|
inputs.multimodal_gen == 'true'
|
|
runs-on: 1-gpu-5090
|
|
timeout-minutes: 180
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ inputs.git_ref || github.sha }}
|
|
|
|
- uses: ./.github/actions/check-pr-test-health
|
|
|
|
- uses: ./.github/actions/check-maintenance
|
|
|
|
- name: Download artifacts
|
|
if: inputs.sgl_kernel == 'true'
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: sgl-kernel/dist/
|
|
merge-multiple: true
|
|
pattern: wheel-python3.10-cuda*
|
|
|
|
- name: Install dependencies
|
|
timeout-minutes: 20
|
|
run: |
|
|
CUSTOM_BUILD_SGL_KERNEL=${{inputs.sgl_kernel}} bash scripts/ci/cuda/ci_install_dependency.sh diffusion
|
|
|
|
- name: Run 5090 diffusion canary tests
|
|
timeout-minutes: 120
|
|
env:
|
|
RUNAI_STREAMER_MEMORY_LIMIT: 0
|
|
CONTINUE_ON_ERROR_FLAG: ${{ inputs.continue_on_error == 'true' && '--continue-on-error' || '' }}
|
|
SGLANG_DIFFUSION_ARTIFACT_DIR: ${{ github.workspace }}/diffusion-failures
|
|
run: |
|
|
cd python
|
|
python3 sglang/multimodal_gen/test/run_suite.py \
|
|
--suite 1-gpu-5090 \
|
|
$CONTINUE_ON_ERROR_FLAG
|
|
|
|
- name: Upload execution report
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: diffusion-5090-report-${{ github.run_attempt }}
|
|
path: python/sglang/multimodal_gen/test/execution_report_*.json
|
|
retention-days: 7
|
|
|
|
- name: Upload diffusion failure artifacts
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: diffusion-failures-5090-${{ github.run_attempt }}
|
|
path: diffusion-failures/
|
|
if-no-files-found: ignore
|
|
retention-days: 7
|
|
|
|
- uses: ./.github/actions/upload-cuda-coredumps
|
|
if: failure()
|
|
with:
|
|
artifact-suffix: 1-gpu-5090
|
|
|
|
bcg-diffusion:
|
|
if: |
|
|
((github.event_name == 'schedule' || inputs.test_parallel_dispatch == 'true') || (inputs.caller_needs_failure != 'true' && !cancelled())) &&
|
|
inputs.multimodal_gen == 'true'
|
|
runs-on: 1-gpu-h100
|
|
timeout-minutes: 90
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ inputs.git_ref || github.sha }}
|
|
|
|
- uses: ./.github/actions/check-pr-test-health
|
|
|
|
- uses: ./.github/actions/check-maintenance
|
|
|
|
- name: Download artifacts
|
|
if: inputs.sgl_kernel == 'true'
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: sgl-kernel/dist/
|
|
merge-multiple: true
|
|
pattern: wheel-python3.10-cuda*
|
|
|
|
- name: Install dependencies
|
|
timeout-minutes: 20
|
|
run: |
|
|
CUSTOM_BUILD_SGL_KERNEL=${{inputs.sgl_kernel}} bash scripts/ci/cuda/ci_install_dependency.sh diffusion
|
|
|
|
- name: Run BCG diffusion tests
|
|
timeout-minutes: 60
|
|
env:
|
|
RUNAI_STREAMER_MEMORY_LIMIT: 0
|
|
CONTINUE_ON_ERROR_FLAG: ${{ inputs.continue_on_error == 'true' && '--continue-on-error' || '' }}
|
|
SGLANG_DIFFUSION_ARTIFACT_DIR: ${{ github.workspace }}/diffusion-bcg-artifacts
|
|
run: |
|
|
cd python
|
|
python3 sglang/multimodal_gen/test/run_suite.py \
|
|
--suite bcg-diffusion \
|
|
$CONTINUE_ON_ERROR_FLAG
|
|
|
|
- name: Upload BCG diffusion artifacts
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: diffusion-bcg-artifacts-${{ github.run_attempt }}
|
|
path: diffusion-bcg-artifacts/
|
|
if-no-files-found: ignore
|
|
retention-days: 7
|
|
|
|
- uses: ./.github/actions/upload-cuda-coredumps
|
|
if: failure()
|
|
with:
|
|
artifact-suffix: bcg-diffusion
|
|
|
|
multimodal-gen-test-2-gpu:
|
|
needs: compute-diffusion-partitions
|
|
if: |
|
|
always() &&
|
|
needs.compute-diffusion-partitions.result == 'success' &&
|
|
needs.compute-diffusion-partitions.outputs.matrix-2gpu != '{"include":[]}' &&
|
|
((github.event_name == 'schedule' || inputs.test_parallel_dispatch == 'true') || (inputs.caller_needs_failure != 'true' && !cancelled())) &&
|
|
inputs.multimodal_gen == 'true'
|
|
runs-on: 2-gpu-h100
|
|
timeout-minutes: 240
|
|
strategy:
|
|
fail-fast: false
|
|
matrix: ${{ fromJson(needs.compute-diffusion-partitions.outputs.matrix-2gpu) }}
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ inputs.git_ref || github.sha }}
|
|
|
|
- uses: ./.github/actions/check-pr-test-health
|
|
|
|
- uses: ./.github/actions/check-maintenance
|
|
|
|
- name: Download artifacts
|
|
if: inputs.sgl_kernel == 'true'
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: sgl-kernel/dist/
|
|
merge-multiple: true
|
|
pattern: wheel-python3.10-cuda*
|
|
|
|
- name: Install dependencies
|
|
timeout-minutes: 20
|
|
run: |
|
|
CUSTOM_BUILD_SGL_KERNEL=${{inputs.sgl_kernel}} bash scripts/ci/cuda/ci_install_dependency.sh diffusion
|
|
|
|
- name: Run diffusion server tests
|
|
timeout-minutes: 240
|
|
env:
|
|
RUNAI_STREAMER_MEMORY_LIMIT: 0
|
|
CONTINUE_ON_ERROR_FLAG: ${{ inputs.continue_on_error == 'true' && '--continue-on-error' || '' }}
|
|
PARTITION_PLAN_JSON: ${{ needs.compute-diffusion-partitions.outputs.plan-2gpu }}
|
|
SGLANG_DIFFUSION_ARTIFACT_DIR: ${{ github.workspace }}/diffusion-failures
|
|
run: |
|
|
cd python
|
|
python3 sglang/multimodal_gen/test/run_suite.py \
|
|
--suite 2-gpu \
|
|
--partition-id ${{ matrix.part }} \
|
|
--total-partitions ${{ needs.compute-diffusion-partitions.outputs['partition-count-2gpu'] }} \
|
|
--partition-plan-json "$PARTITION_PLAN_JSON" \
|
|
$CONTINUE_ON_ERROR_FLAG
|
|
|
|
- name: Upload execution report
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: diffusion-report-2gpu-${{ matrix.part }}
|
|
path: python/sglang/multimodal_gen/test/execution_report_*.json
|
|
retention-days: 1
|
|
|
|
- name: Upload diffusion failure artifacts
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: diffusion-failures-2gpu-${{ matrix.part }}-${{ github.run_attempt }}
|
|
path: diffusion-failures/
|
|
if-no-files-found: ignore
|
|
retention-days: 7
|
|
|
|
- uses: ./.github/actions/upload-cuda-coredumps
|
|
if: failure()
|
|
with:
|
|
artifact-suffix: ${{ matrix.part }}
|
|
|
|
multimodal-gen-component-accuracy:
|
|
if: |
|
|
((github.event_name == 'schedule' || inputs.test_parallel_dispatch == 'true') || (inputs.caller_needs_failure != 'true' && !cancelled())) &&
|
|
inputs.multimodal_gen == 'true'
|
|
runs-on: 2-gpu-h100
|
|
timeout-minutes: 240
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ inputs.git_ref || github.sha }}
|
|
|
|
- uses: ./.github/actions/check-pr-test-health
|
|
|
|
- uses: ./.github/actions/check-maintenance
|
|
|
|
- name: Download artifacts
|
|
if: inputs.sgl_kernel == 'true'
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: sgl-kernel/dist/
|
|
merge-multiple: true
|
|
pattern: wheel-python3.10-cuda*
|
|
|
|
- name: Install dependencies
|
|
timeout-minutes: 20
|
|
run: |
|
|
CUSTOM_BUILD_SGL_KERNEL=${{inputs.sgl_kernel}} bash scripts/ci/cuda/ci_install_dependency.sh diffusion
|
|
|
|
- name: Run diffusion component accuracy tests
|
|
timeout-minutes: 240
|
|
env:
|
|
RUNAI_STREAMER_MEMORY_LIMIT: 0
|
|
CONTINUE_ON_ERROR_FLAG: ${{ inputs.continue_on_error == 'true' && '--continue-on-error' || '' }}
|
|
run: |
|
|
cd python
|
|
python3 sglang/multimodal_gen/test/run_suite.py \
|
|
--suite component-accuracy \
|
|
$CONTINUE_ON_ERROR_FLAG
|
|
|
|
- uses: ./.github/actions/upload-cuda-coredumps
|
|
if: always()
|
|
with:
|
|
artifact-suffix: component-accuracy
|
|
|
|
multimodal-gen-test-1-b200:
|
|
if: |
|
|
((github.event_name == 'schedule' || inputs.test_parallel_dispatch == 'true') || (inputs.caller_needs_failure != 'true' && !cancelled())) &&
|
|
inputs.multimodal_gen == 'true'
|
|
runs-on: ${{ fromJson(inputs.runs_on_map)[inputs.runner_config] }}
|
|
timeout-minutes: 240
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ inputs.git_ref || github.sha }}
|
|
|
|
- uses: ./.github/actions/check-pr-test-health
|
|
|
|
- uses: ./.github/actions/check-maintenance
|
|
|
|
- name: Download artifacts
|
|
if: inputs.sgl_kernel == 'true'
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: sgl-kernel/dist/
|
|
merge-multiple: true
|
|
pattern: wheel-python3.10-cuda*
|
|
|
|
- name: Install dependencies
|
|
timeout-minutes: 20
|
|
env:
|
|
SGLANG_CI_EARLY_LD_LIBRARY_PATH: "1"
|
|
run: |
|
|
CUSTOM_BUILD_SGL_KERNEL=${{inputs.sgl_kernel}} bash scripts/ci/cuda/ci_install_dependency.sh diffusion
|
|
|
|
- name: Run diffusion server tests
|
|
timeout-minutes: 240
|
|
env:
|
|
RUNAI_STREAMER_MEMORY_LIMIT: 0
|
|
CONTINUE_ON_ERROR_FLAG: ${{ inputs.continue_on_error == 'true' && '--continue-on-error' || '' }}
|
|
SGLANG_DIFFUSION_ARTIFACT_DIR: ${{ github.workspace }}/diffusion-failures
|
|
run: |
|
|
cd python
|
|
python3 sglang/multimodal_gen/test/run_suite.py \
|
|
--suite 1-gpu-b200 \
|
|
$CONTINUE_ON_ERROR_FLAG
|
|
|
|
- name: Upload diffusion failure artifacts
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: diffusion-failures-${{ github.job }}-${{ github.run_attempt }}
|
|
path: diffusion-failures/
|
|
if-no-files-found: ignore
|
|
|
|
- uses: ./.github/actions/upload-cuda-coredumps
|
|
if: failure()
|
|
|
|
multimodal-gen-unit-test:
|
|
if: |
|
|
((github.event_name == 'schedule' || inputs.test_parallel_dispatch == 'true') || (inputs.caller_needs_failure != 'true' && !cancelled())) &&
|
|
inputs.multimodal_gen == 'true'
|
|
runs-on: 1-gpu-h100
|
|
timeout-minutes: 120
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ inputs.git_ref || github.sha }}
|
|
|
|
- uses: ./.github/actions/check-pr-test-health
|
|
|
|
- uses: ./.github/actions/check-maintenance
|
|
|
|
- name: Download artifacts
|
|
if: inputs.sgl_kernel == 'true'
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: sgl-kernel/dist/
|
|
merge-multiple: true
|
|
pattern: wheel-python3.10-cuda*
|
|
|
|
- name: Install dependencies
|
|
timeout-minutes: 20
|
|
run: |
|
|
CUSTOM_BUILD_SGL_KERNEL=${{inputs.sgl_kernel}} bash scripts/ci/cuda/ci_install_dependency.sh diffusion
|
|
|
|
- name: Run diffusion unit tests
|
|
timeout-minutes: 60
|
|
run: |
|
|
cd python
|
|
python3 sglang/multimodal_gen/test/run_suite.py --suite unit
|
|
|
|
diffusion-coverage-check:
|
|
needs: [multimodal-gen-test-1-gpu, multimodal-gen-test-2-gpu]
|
|
if: |
|
|
always() &&
|
|
inputs.multimodal_gen == 'true' &&
|
|
(
|
|
needs.multimodal-gen-test-1-gpu.result == 'success' ||
|
|
needs.multimodal-gen-test-1-gpu.result == 'failure' ||
|
|
needs.multimodal-gen-test-2-gpu.result == 'success' ||
|
|
needs.multimodal-gen-test-2-gpu.result == 'failure'
|
|
)
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ inputs.git_ref || github.sha }}
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.10'
|
|
|
|
- name: Download all execution reports
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: reports/
|
|
pattern: diffusion-report-*
|
|
merge-multiple: true
|
|
|
|
- name: Verify coverage
|
|
run: |
|
|
python scripts/ci/utils/diffusion/verify_diffusion_coverage.py --reports-dir reports/
|