Signed-off-by: wangyu <410167048@qq.com> Signed-off-by: [Your Name] <your.email@example.com>
506 lines
24 KiB
YAML
506 lines
24 KiB
YAML
env:
|
|
VLLM_WORKER_MULTIPROC_METHOD: spawn
|
|
VLLM_USE_FLASHINFER_MOE_FP16: 0
|
|
HF_HUB_DOWNLOAD_TIMEOUT: 300
|
|
HF_HUB_ETAG_TIMEOUT: 60
|
|
|
|
steps:
|
|
# Group: collapses under one heading in the Buildkite UI; child steps still run in parallel.
|
|
- group: ":card_index_dividers: Omni Model Test"
|
|
key: nightly-omni-test-group
|
|
depends_on: upload-nightly-pipeline
|
|
if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" || build.pull_request.labels includes "omni-test"
|
|
steps:
|
|
|
|
- label: ":full_moon: Omni · Function Test with H100 · Single-GPU"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- pytest -sv tests/e2e --run-level "full_model" -m "full_model and H100 and omni and cards_1" --ignore=tests/e2e/accuracy --ignore=tests/e2e/online_serving/test_minicpmo_4_5_duplex_expansion.py
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Omni · Function Test with H100 · 2-GPU"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- pytest -sv tests/e2e --run-level "full_model" -m "full_model and H100 and omni and cards_2" --ignore=tests/e2e/accuracy --ignore=tests/e2e/online_serving/test_qwen3_omni_multi_replicas.py
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Omni · MiniCPM-o 4.5 Duplex Test"
|
|
timeout_in_minutes: 50
|
|
commands:
|
|
- pytest -s -v tests/e2e/online_serving/test_minicpmo_4_5_duplex_expansion.py -m "full_model and cuda and H100 and omni and cards_1" --run-level "full_model"
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Omni · Doc Test with L4"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- export VLLM_ALLOW_LONG_MAX_MODEL_LEN="1"
|
|
- pytest -s -v tests/examples/ -m "full_model and omni and L4" --run-level "full_model"
|
|
mirror_hardwares: l4_4
|
|
|
|
- label: ":full_moon: Omni · Doc Test with H100 · 2-GPU"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- pytest -s -v tests/examples/ -m "full_model and omni and H100 and cards_2" --run-level "full_model"
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Omni · Accuracy Test"
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export SEED_TTS_WER_EVAL=1
|
|
- export SEED_TTS_EVAL_DEVICE=cuda:1
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/e2e/accuracy/qwen3_omni/test_qwen3_omni.py -m "full_model" --run-level full_model
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/e2e/accuracy/qwen3_omni/results/qwen_omni_acc/*.json"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Omni · MiniCPM-o 4.5 · Accuracy Test"
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export SEED_TTS_WER_EVAL=1
|
|
- export SEED_TTS_EVAL_DEVICE=cuda:1
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/e2e/accuracy/minicpmo_4_5/test_minicpmo_4_5.py -m "full_model and cuda" --run-level full_model
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/e2e/accuracy/minicpmo_4_5/results/*.json"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Omni · Perf Test · No Async Chunk"
|
|
key: nightly-omni-performance-no-async-chunk
|
|
timeout_in_minutes: 300
|
|
commands:
|
|
- export BENCHMARK_DIR=tests/dfx/perf/results
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_benchmark.py --test-config-file tests/dfx/perf/tests/test_qwen3_omni_no_async_chunk.json
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/*.json"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Omni · Perf Test · Async Chunk"
|
|
key: nightly-omni-performance-async-chunk
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export BENCHMARK_DIR=tests/dfx/perf/results
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_benchmark.py --test-config-file tests/dfx/perf/tests/test_qwen3_omni_async_chunk.json -m "H100 and full_model"
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/*.json"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Omni · MiniCPM-o 4.5 · Perf Test"
|
|
key: nightly-omni-performance-minicpmo-4-5
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export BENCHMARK_DIR=tests/dfx/perf/results
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_benchmark.py --test-config-file tests/dfx/perf/tests/test_minicpmo_4_5.json
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/*.json"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Omni · MiniCPM-o 4.5 · Duplex Seed-TTS Perf Test"
|
|
key: nightly-omni-performance-minicpmo-4-5-duplex-seed-tts
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export BENCHMARK_DIR=tests/dfx/perf/results
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_benchmark.py --test-config-file tests/dfx/perf/tests/test_minicpmo_4_5_duplex_seed_tts.json
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/*.json"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Omni · Multi-Replica Startup Test with 4x H100"
|
|
timeout_in_minutes: 45
|
|
commands:
|
|
- pytest -s -v tests/e2e/online_serving/test_qwen3_omni_multi_replicas.py -m "full_model" --run-level "core_model"
|
|
mirror_hardwares: h100_4
|
|
|
|
- group: ":card_index_dividers: TTS Model Test"
|
|
key: nightly-tts-test-group
|
|
depends_on: upload-nightly-pipeline
|
|
if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test" || build.pull_request.labels includes "tts-test"
|
|
steps:
|
|
|
|
- label: ":full_moon: TTS · Function Test with L4"
|
|
timeout_in_minutes: 120
|
|
commands:
|
|
- export VLLM_ALLOW_LONG_MAX_MODEL_LEN="1"
|
|
- export VLLM_USE_DEEP_GEMM="0"
|
|
- export VLLM_MOE_USE_DEEP_GEMM="0"
|
|
- pytest -s -v tests/e2e/ -m "full_model and L4 and tts" --run-level "full_model" --ignore=tests/e2e/accuracy
|
|
mirror_hardwares: l4_1
|
|
|
|
- label: ":full_moon: TTS · Perf Test · Single-GPU"
|
|
key: nightly-tts-performance-single
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export BENCHMARK_DIR=tests/dfx/perf/results
|
|
- export VLLM_ALLOW_LONG_MAX_MODEL_LEN="1"
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_benchmark.py --test-config-file tests/dfx/perf/tests/test_tts.json -m "H100 and cards_1"
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/*.json"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: TTS · Perf Test · 2-GPU"
|
|
key: nightly-tts-performance-2gpu
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export BENCHMARK_DIR=tests/dfx/perf/results
|
|
- export VLLM_ALLOW_LONG_MAX_MODEL_LEN="1"
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_benchmark.py --test-config-file tests/dfx/perf/tests/test_tts.json -m "H100 and cards_2"
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/*.json"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_2
|
|
|
|
- group: ":card_index_dividers: Tiny Model Tests [Multi-GPU]"
|
|
key: nightly-tiny-model-test-group
|
|
depends_on: upload-nightly-pipeline
|
|
if: >-
|
|
build.env("NIGHTLY") == "1" ||
|
|
build.pull_request.labels includes "nightly-test"
|
|
steps:
|
|
|
|
- label: ":full_moon: Tiny Model Tests · Diffusion (Multi-GPU accelerations)"
|
|
timeout_in_minutes: 30
|
|
# NOTE: Single-GPU (core_model) tiny model tests run on the ready label,
|
|
# so nightly only adds the multi-GPU parallelism configurations.
|
|
#
|
|
# This is a bit confusing, but `full_model` is used to mark the multigpu tests, and
|
|
# --run-level `core_model` is used to indicate that we should use tiny model weights
|
|
# for the CI, since these tests should pass irrespective of whether or not we use
|
|
# the full weights or not.
|
|
commands:
|
|
- timeout 25m pytest -sv tests/model_tests/diffusion -m 'full_model and cuda' --run-level "core_model"
|
|
mirror_hardwares: l4_4
|
|
|
|
- group: ":card_index_dividers: Diffusion X2I(&A&T) Model Test"
|
|
key: nightly-diffusion-x2iat-group
|
|
depends_on: upload-nightly-pipeline
|
|
if: >-
|
|
build.env("NIGHTLY") == "1" ||
|
|
build.pull_request.labels includes "nightly-test" ||
|
|
build.pull_request.labels includes "diffusion-x2iat-test"
|
|
steps:
|
|
|
|
- label: ":full_moon: Diffusion X2I(&A&T) · Function Test with H100 · Single-GPU"
|
|
timeout_in_minutes: 120
|
|
commands:
|
|
- >-
|
|
pytest -sv
|
|
tests/e2e/online_serving/test_qwen_image_expansion.py
|
|
-m "full_model and diffusion and H100 and cards_1"
|
|
--run-level "full_model"
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Diffusion X2I(&A&T) · Function Test with H100 · 2-GPU"
|
|
timeout_in_minutes: 120
|
|
commands:
|
|
- >-
|
|
pytest -sv
|
|
tests/e2e/online_serving/test_qwen_image_expansion.py
|
|
-m "full_model and diffusion and H100 and cards_2"
|
|
--run-level "full_model"
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2I(&A&T) · Function Test with L4 · Multi-GPU"
|
|
timeout_in_minutes: 120
|
|
commands:
|
|
- pytest -sv tests/e2e/ -k "not test_wan and not hunyuan" -m "full_model and diffusion and L4 and not cards_1" --run-level "full_model" --ignore=tests/e2e/accuracy
|
|
mirror_hardwares: l4_4
|
|
|
|
- label: ":full_moon: Diffusion X2I(&A&T) · Doc Test"
|
|
timeout_in_minutes: 60
|
|
commands:
|
|
- pytest -s -v tests/examples/*/test_text_to_image.py -m "full_model and example and H100" --run-level "full_model"
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2I(&A&T) · Accuracy Test"
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export VLLM_HTTP_TIMEOUT_KEEP_ALIVE=120
|
|
- pytest -s -v tests/e2e/accuracy/test_qwen_image.py --run-level full_model
|
|
- pytest -s -v tests/e2e/accuracy/test_diffusers_backend_similarity.py -k '2i_matches_diffusers' -m full_model --run-level full_model
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: HunyuanImage3-DIT · Accuracy Test"
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export HUNYUAN_IMAGE3_MODEL="tencent/HunyuanImage-3.0-Instruct"
|
|
- export HUNYUAN_IMAGE3_DEVICES="0,1,2,3"
|
|
- pytest -s -v tests/e2e/accuracy/test_hunyuan_image3_pixel_accuracy.py -m full_model --run-level full_model
|
|
mirror_hardwares: h100_4
|
|
|
|
- label: ":full_moon: HiDream-O1-Image · Accuracy Test"
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- pytest -s -v tests/e2e/accuracy/test_hidream_o1_image.py -m full_model --run-level full_model
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2I(&A&T) · Perf Test · Qwen-Image · Single-GPU"
|
|
key: nightly-diffusion-x2iat-performance-qwen-image-single
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export DIFFUSION_BENCHMARK_DIR=tests/dfx/perf/results
|
|
- export DIFFUSION_ATTENTION_BACKEND=FLASH_ATTN
|
|
- export CACHE_DIT_VERSION=1.5.0
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_diffusion_benchmark.py --test-config-file tests/dfx/perf/tests/test_qwen_image_vllm_omni.json -m "H100 and cards_1"
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/diffusion_result_*.json"
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/logs/*.log"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Diffusion X2I(&A&T) · Perf Test · Qwen-Image · 4-GPU"
|
|
key: nightly-diffusion-x2iat-performance-qwen-image-4gpu
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export DIFFUSION_BENCHMARK_DIR=tests/dfx/perf/results
|
|
- export DIFFUSION_ATTENTION_BACKEND=FLASH_ATTN
|
|
- export CACHE_DIT_VERSION=1.5.0
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_diffusion_benchmark.py --test-config-file tests/dfx/perf/tests/test_qwen_image_vllm_omni.json -m "H100 and cards_4"
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/diffusion_result_*.json"
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/logs/*.log"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_4
|
|
|
|
- group: ":card_index_dividers: Diffusion X2V Model Test"
|
|
key: nightly-diffusion-x2v-group
|
|
depends_on: upload-nightly-pipeline
|
|
if: >-
|
|
build.env("NIGHTLY") == "1" ||
|
|
build.pull_request.labels includes "nightly-test" ||
|
|
build.pull_request.labels includes "diffusion-x2v-test"
|
|
steps:
|
|
|
|
- label: ":full_moon: Diffusion X2V · Wan2.2 T2V Function Test · Single-GPU"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- pytest -s -v tests/e2e/online_serving/test_wan22_expansion.py -k "t2v" -m "full_model and cuda and H100 and cards_1" --run-level "full_model"
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Diffusion X2V · Wan2.2 T2V Function Test · 2-GPU"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- pytest -s -v tests/e2e/online_serving/test_wan22_expansion.py -k "t2v" -m "full_model and cuda and H100 and cards_2" --run-level "full_model"
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2V · Wan2.2 I2V/TI2V Function Test · Single-GPU"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- pytest -s -v tests/e2e/online_serving/test_wan22_expansion.py -k "i2v" -m "full_model and cuda and H100 and cards_1" --run-level "full_model"
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Diffusion X2V · Wan2.2 I2V/TI2V Function Test · 2-GPU"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- pytest -s -v tests/e2e/online_serving/test_wan22_expansion.py -k "i2v" -m "full_model and cuda and H100 and cards_2" --run-level "full_model"
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2V · HunyuanVideo-1.5 Function Test"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- pytest -s -v tests/e2e/online_serving/test_hunyuan_video_15_expansion.py -m "full_model and cuda" --run-level "full_model"
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2V · Doc Test"
|
|
timeout_in_minutes: 60
|
|
commands:
|
|
- pytest -s -v tests/examples/offline_inference/test_image_to_video.py -m "full_model and example and H100" --run-level "full_model"
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Diffusion X2V · Other Function Test"
|
|
timeout_in_minutes: 90
|
|
commands:
|
|
- pytest -s -v tests/e2e/offline_inference/test_wan22_autoround_w4a16_expansion.py -m "full_model and cuda" --run-level "full_model"
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2V · Wan2.2 Accuracy Test"
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- pytest -s -v tests/e2e/accuracy/wan22_i2v/test_wan22_i2v_video_similarity.py -m full_model --run-level full_model
|
|
- pytest -s -v tests/e2e/accuracy/test_diffusers_backend_similarity.py -k '2v_matches_diffusers' -m full_model --run-level full_model
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2V · MiniMax H3 I2VA/Ref2VA Accuracy Test"
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- pytest -s -v tests/e2e/accuracy/minimax_h3/test_minimax_h3_i2va_ref2va_similarity.py -m full_model --run-level full_model
|
|
mirror_hardwares: h100_4
|
|
|
|
- label: ":full_moon: Diffusion X2V · Other Accuracy Test"
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- pytest -s -v tests/e2e/accuracy/hunyuanvideo15_t2v/test_hunyuanvideo15_t2v_video_similarity.py -m full_model --run-level full_model
|
|
- pytest -s -v tests/e2e/accuracy/hunyuanvideo15_i2v/test_hunyuanvideo15_i2v_video_similarity.py -m full_model --run-level full_model
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2V · Perf Test · Single-GPU"
|
|
key: nightly-diffusion-x2v-performance-single
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export DIFFUSION_BENCHMARK_DIR=tests/dfx/perf/results
|
|
- export DIFFUSION_ATTENTION_BACKEND=FLASH_ATTN
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_diffusion_benchmark.py --test-config-file tests/dfx/perf/tests/test_wan22_i2v_vllm_omni.json -m "H100 and cards_1"
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/diffusion_result_*.json"
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/logs/*.log"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Diffusion X2V · Perf Test · 2-GPU"
|
|
key: nightly-diffusion-x2v-performance-2gpu
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export DIFFUSION_BENCHMARK_DIR=tests/dfx/perf/results
|
|
- export DIFFUSION_ATTENTION_BACKEND=FLASH_ATTN
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_diffusion_benchmark.py --test-config-file tests/dfx/perf/tests/test_wan22_i2v_vllm_omni.json -m "H100 and cards_2"
|
|
EXIT1=$$?
|
|
pytest -s -v tests/dfx/perf/scripts/run_diffusion_benchmark.py --test-config-file tests/dfx/perf/tests/test_cosmos3_vllm_omni.json -m "H100 and cards_2"
|
|
EXIT2=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/diffusion_result_*.json"
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/logs/*.log"
|
|
if [ $$EXIT1 -ne 0 ]; then exit $$EXIT1; fi
|
|
exit $$EXIT2
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2V · Perf Test · HunyuanVideo-1.5"
|
|
key: nightly-diffusion-x2v-performance-hunyuanvideo15
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export DIFFUSION_BENCHMARK_DIR=tests/dfx/perf/results
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_diffusion_benchmark.py --test-config-file tests/dfx/perf/tests/test_hunyuanvideo15_t2v_vllm_omni.json
|
|
EXIT1=$$?
|
|
pytest -s -v tests/dfx/perf/scripts/run_diffusion_benchmark.py --test-config-file tests/dfx/perf/tests/test_hunyuanvideo15_i2v_vllm_omni.json
|
|
EXIT2=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/diffusion_result_*.json"
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/logs/*.log"
|
|
if [ $$EXIT1 -ne 0 ]; then exit $$EXIT1; fi
|
|
exit $$EXIT2
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion X2V · Perf Test · MiniMax-H3"
|
|
key: nightly-diffusion-x2v-performance-minimax-h3
|
|
timeout_in_minutes: 180
|
|
commands:
|
|
- export DIFFUSION_BENCHMARK_DIR=tests/dfx/perf/results
|
|
- export DIFFUSION_ATTENTION_BACKEND=FLASH_ATTN
|
|
- |
|
|
set +e
|
|
pytest -s -v tests/dfx/perf/scripts/run_diffusion_benchmark.py --test-config-file tests/dfx/perf/tests/test_minimax_h3_vllm_omni.json
|
|
EXIT=$$?
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/diffusion_result_*.json"
|
|
buildkite-agent artifact upload "tests/dfx/perf/results/logs/*.log"
|
|
exit $$EXIT
|
|
mirror_hardwares: h100_4
|
|
|
|
- group: ":card_index_dividers: Diffusion Test"
|
|
key: nightly-diffusion-test-group
|
|
depends_on: upload-nightly-pipeline
|
|
if: build.env("NIGHTLY") == "1" || build.pull_request.labels includes "nightly-test"
|
|
steps:
|
|
- label: ":full_moon: Diffusion · Distributed Test with L4"
|
|
timeout_in_minutes: 60
|
|
commands:
|
|
- pytest -sv tests/diffusion/distributed/ -m 'full_model and cuda and L4' --run-level "full_model"
|
|
mirror_hardwares: l4_4
|
|
|
|
- label: ":full_moon: Diffusion · Distributed Test with H100 · 2-GPU"
|
|
timeout_in_minutes: 60
|
|
commands:
|
|
- pytest -sv tests/diffusion/distributed/ -m 'full_model and cuda and H100 and cards_2' --run-level "full_model"
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion · Distributed Test with H100 · 4-GPU"
|
|
timeout_in_minutes: 60
|
|
commands:
|
|
- pytest -sv tests/diffusion/distributed/ -m 'full_model and cuda and H100 and cards_4' --run-level "full_model"
|
|
mirror_hardwares: h100_4
|
|
|
|
- label: ":full_moon: Diffusion · Offloader Test"
|
|
timeout_in_minutes: 60
|
|
commands:
|
|
- pytest -sv tests/diffusion/offloader -m "full_model and cuda"
|
|
mirror_hardwares: l4_1
|
|
|
|
- label: ":full_moon: Diffusion · Quantization Test with H100 · Single-GPU"
|
|
timeout_in_minutes: 60
|
|
commands:
|
|
- pytest -sv tests/diffusion/quantization -m 'full_model and cuda and H100' --run-level "full_model"
|
|
mirror_hardwares: h100_1
|
|
|
|
- label: ":full_moon: Diffusion · MiniMax H3 FP8 Quality Test with H100 · 2-GPU"
|
|
timeout_in_minutes: 60
|
|
commands:
|
|
- pytest -sv tests/diffusion/models/minimax_h3/test_minimax_h3_quantization_quality.py -m 'full_model and cuda and H100' --run-level "full_model"
|
|
mirror_hardwares: h100_2
|
|
|
|
- label: ":full_moon: Diffusion · Quantization Test with L4"
|
|
timeout_in_minutes: 60
|
|
commands:
|
|
- pip install "vllm-gguf-plugin==0.0.4"
|
|
- pytest -sv tests/diffusion/quantization -m 'full_model and cuda and L4' --run-level "full_model"
|
|
mirror_hardwares: l4_1
|
|
|
|
# NOTE: ":email: Nightly Collection & Email" is deprecated and will be removed soon.
|
|
# Do not add new depends_on entries or extend this step.
|
|
- label: ":email: Nightly Collection & Email"
|
|
key: nightly-perf-distribution
|
|
depends_on:
|
|
- nightly-omni-performance-no-async-chunk
|
|
- nightly-omni-performance-async-chunk
|
|
- nightly-tts-performance-single
|
|
- nightly-tts-performance-2gpu
|
|
- nightly-diffusion-x2iat-performance-qwen-image-single
|
|
- nightly-diffusion-x2iat-performance-qwen-image-4gpu
|
|
- nightly-diffusion-x2v-performance-single
|
|
- nightly-diffusion-x2v-performance-2gpu
|
|
if: build.env("NIGHTLY") == "1" && build.env("EMAIL_DISTRIBUTION") == "1"
|
|
commands:
|
|
- pip install openpyxl
|
|
- export DEFAULT_INPUT_DIR=tests/dfx/perf/results
|
|
- export DEFAULT_OUTPUT_DIR=tests/dfx/perf/results
|
|
- buildkite-agent artifact download "tests/dfx/perf/results/*.json" . --step nightly-tts-performance-single
|
|
- buildkite-agent artifact download "tests/dfx/perf/results/*.json" . --step nightly-tts-performance-2gpu
|
|
- buildkite-agent artifact download "tests/dfx/perf/results/*.json" . --step nightly-omni-performance-no-async-chunk
|
|
- buildkite-agent artifact download "tests/dfx/perf/results/*.json" . --step nightly-omni-performance-async-chunk
|
|
- buildkite-agent artifact download "tests/dfx/perf/results/*.json" . --step nightly-diffusion-x2iat-performance-qwen-image-single
|
|
- buildkite-agent artifact download "tests/dfx/perf/results/*.json" . --step nightly-diffusion-x2iat-performance-qwen-image-4gpu
|
|
- buildkite-agent artifact download "tests/dfx/perf/results/*.json" . --step nightly-diffusion-x2v-performance-single
|
|
- buildkite-agent artifact download "tests/dfx/perf/results/*.json" . --step nightly-diffusion-x2v-performance-2gpu
|
|
- python tools/nightly/generate_nightly_perf_excel.py
|
|
- python tools/nightly/generate_nightly_perf_html.py
|
|
- python tools/nightly/send_nightly_email.py --report-file "tests/dfx/perf/results/*.xlsx, tests/dfx/perf/results/*.html"
|
|
- buildkite-agent artifact upload "tests/dfx/perf/results/*.xlsx"
|
|
- buildkite-agent artifact upload "tests/dfx/perf/results/*.html"
|
|
agents:
|
|
queue: "cpu_queue_premerge"
|