[SOT] Support builtin dispatch for is_compiled_with_onednn#75747
Merged
SigureMo merged 3 commits intoPaddlePaddle:developfrom Oct 12, 2025
Merged
[SOT] Support builtin dispatch for is_compiled_with_onednn#75747SigureMo merged 3 commits intoPaddlePaddle:developfrom
is_compiled_with_onednn#75747SigureMo merged 3 commits intoPaddlePaddle:developfrom
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
SigureMo
requested changes
Oct 11, 2025
| res5 = paddle.base.libpaddle.is_compiled_with_custom_device("npu") | ||
| res6 = paddle.base.libpaddle.is_compiled_with_ipu() | ||
| res7 = paddle.base.libpaddle.is_compiled_with_xpu() | ||
| res8 = paddle.base.libpaddle.is_compiled_with_mkldnn() |
Member
There was a problem hiding this comment.
PaddlePaddle 3.3 会移除 is_compiled_with_mkldnn 么?如果只是弃用而不是移除,这里的测试需要保留,同时添加 is_compiled_with_onednn 的测试,否则会影响下游用户的使用,如果确定是移除,那么这里可以替换
以及需要单独在 python/paddle/jit/sot/utils/paddle_api_config.py 添加 is_compiled_with_onednn 才可能跑通这里的单测
Contributor
Author
There was a problem hiding this comment.
PaddlePaddle 3.3是弃用,PaddlePaddle 4.0移除,已增加 is_compiled_with_onednn 和 配置
Contributor
Author
|
/re-run all-failed |
SigureMo
reviewed
Oct 12, 2025
is_compiled_with_onednn
SigureMo
approved these changes
Oct 12, 2025
Contributor
Author
|
/re-run all-failed |
SigureMo
added a commit
to cattidea/Paddle
that referenced
this pull request
Oct 14, 2025
…addle#75747) --------- Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Category
User Experience
PR Types
Others
Description
replace mkldnn in test_builtin_dispatch.py