Prhub

#29234 [AMD] Fix stage-b-test-1-gpu-small-amd-nondeterministic timeout after VLM model swap

原始 PR 作者 yctseng0211 合并时间 2026-06-25 18:56 文件变更 2 提交数 2 评论 2 代码增减 +4 / -4

执行摘要

提高 AMD VLM CI 测试超时时间

PR #29095 临时禁用了 openbmb/MiniCPM-V-2_6 并替换为 Qwen2.5-VL-3B-Instruct。Qwen2.5-VL 使用动态分辨率,高分辨率 MMMU 图像产生更多视觉 token 和更重的预填充,在 AMD/ROCm 上运行时间超过旧限制 1800 秒。

快速合并,解决 CI 阻塞。建议跟踪测试耗时,未来可考虑优化 VLM 推理或拆分测试集。

讨论亮点

无 review 评论。PR 由 HaiShaw 直接批准。

实现拆解

  1. 修改 .github/workflows/pr-test-amd.yml 中对应任务的 timeout-per-file 参数从 1800 改为 3600timeout-minutes45 改为 75
  2. .github/workflows/pr-test-amd-rocm720.yml 中做相同的超时调整。
  3. 无源代码或运行时逻辑变更。
文件 模块 状态 重要度
.github/workflows/pr-test-amd.yml CI 工作流 modified 3.13
.github/workflows/pr-test-amd-rocm720.yml CI 工作流 modified 3.13

关键源码片段

.github/workflows/pr-test-amd.yml infrastructure

主 CI 工作流,调整超时参数以适配新 VLM 模型。

# .github/workflows/pr-test-amd.yml ( 片段 )
- name: Run test
  timeout-minutes: 75 # 从 45 上调,给新模型充分时间
  run: |
    bash scripts/ci/amd/amd_ci_exec.sh -w "/sglang-checkout/test"
    python3 run_suite.py --hw amd \
      --suite stage-b-test-1-gpu-small-amd-nondeterministic \
      --timeout-per-file 3600  # 从 1800 翻倍,适应 Qwen2.5-VL 的预填充开销
      ${{ needs.check-changes.outputs.continue_on_error == 'true' && '--continue-on-error' || '' }}

评论区精华

没有提炼出高价值讨论线程

当前评论区没有形成足够清晰的争议点或结论,后续有更多讨论时会体现在这里。

风险与影响

风险极低:仅调整 CI 超时参数,不涉及推理代码或性能。但过长的超时可能掩盖真正的挂起问题,需确保测试确实能完成。

仅影响 AMD CI 的 stage-b-test-1-gpu-small-amd-nondeterministic 任务,允许 VLM 评估有更长时间执行。对其他平台或任务无影响。

仅配置变更

关联 Issue

未识别关联 Issue

当前没有检测到明确关联的 Issue 链接,后续同步到相关引用后会出现在这里。

完整报告

参与讨论