Skip to content

add aoa for dsv4 hybrid attn#4508

Merged
From00 merged 2 commits into
PaddlePaddle:developfrom
Hz188:develop
May 22, 2026
Merged

add aoa for dsv4 hybrid attn#4508
From00 merged 2 commits into
PaddlePaddle:developfrom
Hz188:develop

Conversation

@Hz188
Copy link
Copy Markdown
Contributor

@Hz188 Hz188 commented May 22, 2026

Before submitting

  • Lint code. If there are lint issues, please format the code first.
# Install and register `pre-commit` in the project folder
pip install pre-commit && pre-commit install

# Process previous code files separately
pre-commit run --file XXXX.py
  • Add test cases into tests folder. If there are codecov issues, please add tests cases first.

PR types

New features

PR changes

Models

Description

添加dsv4 attn的aoa支持

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented May 22, 2026

Thanks for your contribution!

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 22, 2026

Codecov Report

❌ Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@f3fc3f2). Learn more about missing BASE report.

Files with missing lines Patch % Lines
paddleformers/transformers/minimax_m2/modeling.py 0.00% 16 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #4508   +/-   ##
==========================================
  Coverage           ?   46.43%           
==========================================
  Files              ?      475           
  Lines              ?    90655           
  Branches           ?        0           
==========================================
  Hits               ?    42094           
  Misses             ?    48561           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Paddle-CI-Bot
Copy link
Copy Markdown

Paddle-CI-Bot commented May 22, 2026

PaddleFormers Log Analysis

Run #26274285841 · Attempt 1

日志分析报告

流水线名称 问题标签 修复建议 日志片段
CI_ILUVATAR (iluvatar_test) 容器基础设施故障 Runner K8s 容器实现异常,直接 Rerun 该 Job 报错代码

失败的测试 case:

无法获取测试 case 级别的失败信息——容器在执行 pytest 之前已崩溃,测试输出未被采集。
Run CI unittest 步骤触发 50 秒后容器整体退出,未产生任何 pytest 报告。

根本原因分析:

PR #4508Hz188,仅修改 paddleformers/transformers/minimax_m2/modeling.py +83/-0,为 DSv4 hybrid attention 新增 AOA 逻辑)本身与此次失败无直接关联。失败发生在 Run CI unittest 步骤的容器启动阶段:k8s 自定义 runner(/home/runner/k8s/index.js)在脚本执行约 50 秒后抛出 failed to run script step: [object Object],随即触发 Executing the custom container implementation failed(exit code 1),整个 Job 从未运行到 python -m pip install 乃至 pytest。这是 Iluvatar Runner 节点 iluvatar-gpu-2-nczzk-runner-49hdm 的基础设施偶发故障,与代码改动无关。


修复建议:

  1. 直接 Rerun 该 Job(第 3 次尝试已失败,可在 Actions 页点击 "Re-run failed jobs")。
  2. 若连续 Rerun 仍失败,联系 CI 维护人员检查节点 iluvatar-gpu-2-nczzk-runner-49hdm 状态(K8s Pod 资源、容器镜像拉取、宿主机 GPU 驱动)。
  3. 确认节点恢复后,再次触发 CI 验证 minimax_m2 AOA 改动的正确性。

🔄 每次 Re-run 后自动更新

@Hz188
Copy link
Copy Markdown
Contributor Author

Hz188 commented May 22, 2026

/re-run --all-failed

1 similar comment
@Hz188
Copy link
Copy Markdown
Contributor Author

Hz188 commented May 22, 2026

/re-run --all-failed

Copy link
Copy Markdown
Collaborator

@From00 From00 left a comment

Choose a reason for hiding this comment

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

LGTM

@From00 From00 merged commit 3ef1786 into PaddlePaddle:develop May 22, 2026
21 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants