执行摘要
提高 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 直接批准。
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 直接批准。
.github/workflows/pr-test-amd.yml 中对应任务的 timeout-per-file 参数从 1800 改为 3600,timeout-minutes 从 45 改为 75。.github/workflows/pr-test-amd-rocm720.yml 中做相同的超时调整。| 文件 | 模块 | 状态 | 重要度 |
|---|---|---|---|
.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 链接,后续同步到相关引用后会出现在这里。
参与讨论