[CI][ROCm] Add and stabilize HunyuanImage3 nightly coverage (#7934)

Signed-off-by: haic0 <149741444+haic0@users.noreply.github.com>
Signed-off-by: akshatvishu <akshatnayak197@gmail.com>
Signed-off-by: andyluo7 <andy.luo@amd.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: akshatvishu <akshatnayak197@gmail.com>
Co-authored-by: andyluo7 <andy.luo@amd.com>
This commit is contained in:
authored and GitHub committed 2026-10-06 09:54:27 -07:00
1 parent bad88bca25
commit a0d915254b
4 files changed
+97 -1

No files matched your search

@@ -42,6 +42,7 @@ WIDTH = 1024
PROMPT = "A brown and white dog is running on the grass."
MEAN_THRESHOLD = 3e-2
P99_THRESHOLD = 3e-1
PSNR_THRESHOLD_ROCM = 29.0
PSNR_THRESHOLD_NPU = 26.0
# Per-device SSIM/PSNR for online/offline vs baseline. Unlisted devices use ``default``.
@@ -56,6 +57,8 @@ def _psnr_threshold(thresholds: SimilarityThresholds | None = None) -> float:
if current_omni_platform.is_npu():
return PSNR_THRESHOLD_NPU
if current_omni_platform.is_rocm():
return PSNR_THRESHOLD_ROCM
if thresholds is None:
thresholds = resolve_similarity_thresholds(SIMILARITY_THRESHOLDS_BY_DEVICE)
return thresholds.psnr
@@ -111,6 +114,14 @@ _DEPLOY_CONFIG: dict[str, Any] = {
},
],
"platforms": {
"rocm": {
"stages": [
{
"stage_id": 0,
"moe_backend": "auto",
},
],
},
"npu": {
"stages": [
{
@@ -310,7 +321,7 @@ def test_hunyuan_image3_pixel_accuracy_online(accuracy_artifact_root: Path) -> N
@pytest.mark.full_model
@hardware_test(res={"cuda": ["H100", "B200"], "npu": "A3"}, num_cards=4)
@hardware_test(res={"cuda": ["H100", "B200"], "rocm": "MI325", "npu": "A3"}, num_cards=4)
def test_hunyuan_image3_pixel_accuracy_offline(accuracy_artifact_root: Path) -> None:
model = _model_name()
output_dir = model_output_dir(accuracy_artifact_root, MODEL_NAME)