Skip to content

Conversation

@aztice
Copy link
Contributor

@aztice aztice commented Oct 10, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

此单测运行时出现大量旧版API导致报错,对API进行更新。
但仍有 decompose 导致的问题,decompose 并不能正常工作,导致 断言。
最新的 develop 分支不清楚此问题是否仍然存在。
由于当前测试环境无法完整编译 Paddle,需要借用 CI 自动测试以查询 decompose 问题是否仍然存在。

受影响的文件: test_dropout_op prim_op_test.py
调用 影响: test_dropout_op -> prim_op_test.py -> 断言 Failure.

@luotao1

@paddle-bot
Copy link

paddle-bot bot commented Oct 10, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Oct 10, 2025
@aztice
Copy link
Contributor Author

aztice commented Oct 10, 2025

/re-run all-failed

@aztice
Copy link
Contributor Author

aztice commented Oct 10, 2025

这边看了下 CI,test_dropout_op 是被禁用的,我想问问飞桨目前的 decompose 有相关的文档吗?目前测试的是只有 decompose 出现了问题,而出现原因是算子没有被分解,而单个算子 call 是可以的。

@aztice
Copy link
Contributor Author

aztice commented Oct 11, 2025

不过经过测试似乎 decompose 仍然无效,应该不会再报ERROR,会报Failure
本人单独把 decompose 抓出来测了下也一样。

@aztice
Copy link
Contributor Author

aztice commented Oct 11, 2025

/re-run all-failed

@aztice aztice requested a review from SigureMo October 11, 2025 15:47
@SigureMo SigureMo changed the title 【UnitTestFix No.4】test_dropout_op 单测 修复 【UnitTestFix No.4】Fix unittest test_dropout_op Oct 11, 2025
@luotao1 luotao1 merged commit e9f2910 into PaddlePaddle:develop Oct 13, 2025
68 of 69 checks passed
SigureMo added a commit to cattidea/Paddle that referenced this pull request Oct 14, 2025
* fix: using latest API

* switch check_prim_pir ON

* fix: Code Style Issue

* remove: useless whitelist.

* fix: code-style issue.

* Update test/legacy_test/test_dropout_op.py

Co-authored-by: Nyakku Shigure <[email protected]>

* fix: code-style issue.

---------

Co-authored-by: Nyakku Shigure <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants