Skip to content

[CI] Use prebuilt wheels and remove CI_METAX from release branches#7911

Merged
EmmonsCurse merged 1 commit into
PaddlePaddle:developfrom
EmmonsCurse:ci_optimize_dev_0525
May 25, 2026
Merged

[CI] Use prebuilt wheels and remove CI_METAX from release branches#7911
EmmonsCurse merged 1 commit into
PaddlePaddle:developfrom
EmmonsCurse:ci_optimize_dev_0525

Conversation

@EmmonsCurse
Copy link
Copy Markdown
Collaborator

@EmmonsCurse EmmonsCurse commented May 25, 2026

Motivation

Installing xgrammar==0.1.19 triton==3.4.0 and torch==2.8.0 directly from upstream sources in CI may introduce unnecessary installation overhead and instability.

Using prebuilt wheel packages improves installation efficiency and environment consistency for CI workflows.

In addition, the CI_METAX job is no longer required for release/* branches and should be removed to reduce unnecessary CI resource consumption.

Modifications

  • Switched CI installation of:
    • xgrammar==0.1.19
    • torch==2.8.0
    • triton==3.4.0
      to use prebuilt wheel files.
  • Improved dependency installation stability and efficiency in CI environments.
  • Removed CI_METAX job from release/* branches.
  • Reduced unnecessary CI workload for release branch validation.

Usage or Command

N/A

Accuracy Tests

N/A

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented May 25, 2026

Thanks for your contribution!

@paddle-bot paddle-bot Bot added the contributor External developers label May 25, 2026
@EmmonsCurse
Copy link
Copy Markdown
Collaborator Author

EmmonsCurse commented May 25, 2026

/skip-ci ci_iluvatar
/skip-ci ci_hpu
/skip-ci build_xpu
/skip-ci coverage
/skip-ci stable_test
/skip-ci base_test
/skip-ci logprob_test
/skip-ci gpu_4cards_test

Copy link
Copy Markdown

@PaddlePaddle-bot PaddlePaddle-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Paddle-CI-Agent | pr_review | 2026-05-25 15:02:55

📋 Review 摘要

PR 概述:将 CI 安装的 xgrammar 和 torch 切换为预构建 wheel 包,并移除 release 分支的 CI_METAX 触发条件
变更范围.github/workflows/scripts/
影响面 Tag[CI] [Metax]

问题

级别 文件 概述
❓ 疑问 scripts/run_pre_ce.sh:13 triton 从注释态(3.2.0)升级为 3.4.0 并激活安装,PR 描述和脚本注释均未提及

📝 PR 规范检查

标题格式合规([CI] 为官方 Tag,格式 [Tag] 描述 符合规范)✓

描述结构完整,但有两处小问题需关注:

  1. Modifications 漏提 triton:diff 中实际还将 triton-3.4.0 从注释态激活(原注释版本为 triton-3.2.0),PR 描述的 Modifications 仅提及 xgrammar 和 torch,建议补充 triton 的说明。

  2. unit tests 未勾选且未说明原因:checklist 要求若不添加单测需在 PR 中说明原因,纯 CI 脚本变更虽无需单测,但建议在 checklist 项后补注说明,例如:No unit tests needed for CI script-only changes

总体评价

变更逻辑清晰,目标明确。主要建议是补充 triton 依赖的升级说明,无阻塞合入的问题。

Comment thread scripts/run_pre_ce.sh
# https://paddle-qa.bj.bcebos.com/FastDeploy/xgrammar-0.1.19-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
python -m pip install \
https://paddle-qa.bj.bcebos.com/FastDeploy/torch-2.8.0-cp310-cp310-manylinux_2_28_x86_64.whl \
https://paddle-qa.bj.bcebos.com/FastDeploy/triton-3.4.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl \
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ 疑问 triton 从注释状态(原 triton-3.2.0)升级为 triton-3.4.0 并激活安装,但 PR 描述的 Modifications 章节和上方脚本注释(第 10 行)均未提及此变更。

建议:

  1. 更新第 10 行注释:将 xgrammar==0.1.19 and torch==2.8.0 改为 xgrammar==0.1.19, torch==2.8.0 and triton==3.4.0
  2. 在 PR 描述 Modifications 中补充 triton==3.4.0 的升级激活说明

@PaddlePaddle-bot
Copy link
Copy Markdown

PaddlePaddle-bot commented May 25, 2026

🤖 Paddle-CI-Agent | ci_status_monitor | 2026-05-25 17:06:19

CI报告基于以下代码生成(30分钟更新一次):


1 任务总览

当前 required CI 无失败、无运行中、无等待任务;阻塞合并的任务已通过或跳过(bypass),建议通过。Optional 中有 1 个历史 CI_METAX 失败,属于非阻塞任务,仅供参考。

总执行(rerun次数) 总任务 ✅ 通过 ❌ 失败 ⏳ 运行中 ⏸️ 等待中 跳过
64(18) 46 33 1 0 0 12

2 任务状态汇总

日志列说明:失败任务直接使用日志链接;运行中任务使用 Job 链接。

2.1 Required任务 : 4/10 通过

必选任务阻塞合并,当前无 failed/running/pending 的 required 任务。

状态 任务 耗时 根因 修复建议 日志 重跑
4 个必选任务通过 - - - - -
⏭️ 其余 6 个必选任务跳过/未执行(bypass) - 不阻塞 - - -

2.2 可选任务 — 29/36 通过

可选任务不阻塞合并,失败仅供参考。

状态 任务 耗时 日志 重跑
CI_METAX / Trigger Jenkins for PR 15s Job -
其余 29 个可选任务通过 - - -
⏭️ 其余 6 个可选任务跳过/未执行 - - -

3 失败详情(仅 required)

无 required 失败任务。

4 备注

  • 本次 PR 主要修改 CI 配置与 scripts/run_pre_ce.sh 的依赖安装方式;相关 required CE/Base/Pre Commit/Approval 任务均已通过。
  • CI_METAX / Trigger Jenkins for PR 是 optional 失败任务,日志摘要为 Docker build failed with exit code 1,按流程不进行深度分析且不阻塞合并。

@EmmonsCurse EmmonsCurse merged commit 6ad7f85 into PaddlePaddle:develop May 25, 2026
60 of 61 checks passed
@EmmonsCurse EmmonsCurse deleted the ci_optimize_dev_0525 branch May 25, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants