Skip to content

[SWE-Paddle] Complete task package for PaddlePaddle__Paddle-77064 - #1439

Merged
sunzhongkai588 merged 2 commits into
PaddlePaddle:masterfrom
Manfredss:swe-paddle-77064-full
Aug 3, 2026
Merged

[SWE-Paddle] Complete task package for PaddlePaddle__Paddle-77064#1439
sunzhongkai588 merged 2 commits into
PaddlePaddle:masterfrom
Manfredss:swe-paddle-77064-full

Conversation

@Manfredss

Copy link
Copy Markdown
Contributor

Related PR/issue:

# 原始的 P2P
λ /workspace/Paddle python3.10 test/legacy_test/test_allclose_op.py
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
W0723 06:11:35.140838  6159 gpu_resources.cc:116] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 12.6, Runtime API Version: 11.8
...I0723 06:11:35.159953  6159 program_interpreter.cc:257] New Executor is Running.
I0723 06:11:35.202512  6159 pir_interpreter.cc:1529] New Executor is Running ...
I0723 06:11:35.203243  6159 pir_interpreter.cc:1552] pir interpreter is running by multi-thread mode ...
.................
----------------------------------------------------------------------
Ran 20 tests in 1.130s

OK
# 只应用 test.patch 的 F2P
λ /workspace/Paddle python3.10 test/legacy_test/test_allclose_op.py
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
EEW0723 06:17:25.957491  8434 gpu_resources.cc:116] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 12.6, Runtime API Version: 11.8
..I0723 06:17:25.967764  8434 program_interpreter.cc:257] New Executor is Running.
I0723 06:17:26.012912  8434 pir_interpreter.cc:1529] New Executor is Running ...
I0723 06:17:26.013666  8434 pir_interpreter.cc:1552] pir interpreter is running by multi-thread mode ...
.................
======================================================================
ERROR: test_alias (__main__.TestAllcloseAlias)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspace/Paddle/test/legacy_test/test_allclose_op.py", line 502, in test_alias
    res1 = paddle.allclose(input=x, other=y, rtol=1e-05, atol=1e-08)
TypeError: allclose() got an unexpected keyword argument 'input'

======================================================================
ERROR: test_tensor_method_alias (__main__.TestAllcloseAlias)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspace/Paddle/test/legacy_test/test_allclose_op.py", line 529, in test_tensor_method_alias
    res = x.allclose(other=y, rtol=1e-05, atol=1e-08)
TypeError: allclose() got an unexpected keyword argument 'other'

----------------------------------------------------------------------
Ran 21 tests in 1.078s

FAILED (errors=2)

λ /workspace/Paddle python3.10 test/legacy_test/test_compat_allclose.py
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script

======================================================================
ERROR: test_allclose_args (__main__.TestCompatAllclose) (place=Place(cpu))
Test compat.allclose arguments
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspace/Paddle/test/legacy_test/test_compat_allclose.py", line 54, in test_allclose_args
    res = allclose(input=x, other=y, equal_nan=True)
TypeError: 'NoneType' object is not callable

======================================================================
ERROR: test_allclose_args (__main__.TestCompatAllclose) (place=Place(gpu:0))
Test compat.allclose arguments
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspace/Paddle/test/legacy_test/test_compat_allclose.py", line 54, in test_allclose_args
    res = allclose(input=x, other=y, equal_nan=True)
TypeError: 'NoneType' object is not callable

======================================================================
ERROR: test_allclose_return_bool (__main__.TestCompatAllclose) (place=Place(cpu))
Test compat.allclose returns python bool
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspace/Paddle/test/legacy_test/test_compat_allclose.py", line 35, in test_allclose_return_bool
    res = allclose(x, y)
TypeError: 'NoneType' object is not callable

======================================================================
ERROR: test_allclose_return_bool (__main__.TestCompatAllclose) (place=Place(gpu:0))
Test compat.allclose returns python bool
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspace/Paddle/test/legacy_test/test_compat_allclose.py", line 35, in test_allclose_return_bool
    res = allclose(x, y)
TypeError: 'NoneType' object is not callable

----------------------------------------------------------------------
Ran 2 tests in 0.151s

FAILED (errors=4)
# 修复后的 P2P
λ /workspace/Paddle python3.10 test/legacy_test/test_allclose_op.py
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
W0723 06:51:09.215919 38393 gpu_resources.cc:116] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 12.6, Runtime API Version: 11.8
....I0723 06:51:09.228710 38393 program_interpreter.cc:257] New Executor is Running.
I0723 06:51:09.272632 38393 pir_interpreter.cc:1529] New Executor is Running ...
I0723 06:51:09.273424 38393 pir_interpreter.cc:1552] pir interpreter is running by multi-thread mode ...
.................
----------------------------------------------------------------------
Ran 21 tests in 1.210s

OK

λ /workspace/Paddle python3.10 test/legacy_test/test_compat_allclose.py
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
W0723 06:52:07.510293 38996 gpu_resources.cc:116] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 12.6, Runtime API Version: 11.8
..
----------------------------------------------------------------------
Ran 2 tests in 0.154s

OK

@sunzhongkai588 Thx

Add the reproducible task artifacts and validated compatibility coverage so the allclose API migration can be evaluated from the pinned base revision.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@paddle-bot

paddle-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

你的PR提交成功,感谢你对开源项目的贡献!
请检查PR提交格式和内容是否完备,具体请参考示例模版
Your PR has been submitted. Thanks for your contribution!
Please check its format and content. For this, you can refer to Template and Demo.

@sunzhongkai588 sunzhongkai588 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@sunzhongkai588
sunzhongkai588 merged commit 4f1e862 into PaddlePaddle:master Aug 3, 2026
1 check passed
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.

2 participants