[API Compatibility No.155] Keep input/target alias for bce_with_logits-part#846
Open
Aidenwu0209 wants to merge 1 commit intoPaddlePaddle:masterfrom
Open
Conversation
|
Thanks for your contribution! |
This was referenced Mar 5, 2026
Open
Contributor
Author
|
已定位本次失败原因:当前 CI 使用的 nightly paddle 还未包含 No.155 在 Paddle 侧的 alias 改动(Paddle PR: PaddlePaddle/Paddle#78140 目前仍为 OPEN)。\n\n在本地同版本环境可复现:paddle.nn.functional.binary_cross_entropy_with_logits(input=..., target=...) 报 TypeError: unexpected keyword argument 'input',因此触发 PR-CI-GPU-UnitTest 失败。\n\n按 #76301 说明,这类 PaConvert PR 需要等 Paddle PR 合入并经过 nightly 同步(通常次日)后再重跑 CI。Paddle 合入后我会第一时间重新触发本 PR CI。 |
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
New features
Description
torch.nn.functional.binary_cross_entropy_with_logitsduring conversion.input->logit,target->label) in PaConvert mapping so converted Paddle code can directly useinput/targetaliases.input/targetkeywords (including reordered kwargs).