Skip to content

[SWE-Paddle] Add task PaddlePaddle__Paddle-74221 - #1461

Open
co63oc wants to merge 2 commits into
PaddlePaddle:masterfrom
co63oc:pr74221
Open

[SWE-Paddle] Add task PaddlePaddle__Paddle-74221#1461
co63oc wants to merge 2 commits into
PaddlePaddle:masterfrom
co63oc:pr74221

Conversation

@co63oc

@co63oc co63oc commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

关联

说明

新增 SWE-Paddle 任务 PaddlePaddle__Paddle-74221

该任务覆盖 paddle.nn.functional.fold 对 0-size Tensor 的处理。测试包含非 0-size Tensor regression case,以及 fold 的目标场景,可在 CPU 环境运行。

验证结果

状态 P2P fold F2P
Base + tests/test.patch PASS FAIL
Base + test patch + solution/code.patch PASS PASS

Base P2P

======================================================== 2 passed, 2 warnings in 1.37s =========================================================

Base F2P:fold

=========================================================== short test summary info ============================================================
FAILED test_fold_op.py::TestFoldOpError::test_errors - ValueError: (InvalidArgument) The `kernel_sizes` should be greater than zero, but received kernel_height: 0 kernel_width: 0.
========================================================= 1 failed, 1 warning in 1.40s =========================================================

Solution P2P

======================================================== 2 passed, 2 warnings in 1.38s =========================================================

Solution F2P:fold

========================================================= 1 passed, 1 warning in 1.25s =========================================================

@co63oc
co63oc marked this pull request as ready for review July 29, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant