-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Fix PIR Unittest No.232,528 BUAA】Fix some test case in PIR #66152
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
@@ -468,7 +468,6 @@ endif() | |||
foreach(TEST_OP ${TEST_OPS}) | |||
py_test_modules(${TEST_OP} MODULES ${TEST_OP}) | |||
endforeach() | |||
set_tests_properties(test_logcumsumexp_op PROPERTIES TIMEOUT 30) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个需要一起迁移到 test/legacy_test 下嘛
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该不用吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这行代码需要迁移到test/legacy_test/CMakeLists.txt下的,这个是设置单测timeout时间的,说明这个单测跑的比较慢,可能偶发性导致CI超时。
… test_logcumsumexp_op upstream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -468,7 +468,6 @@ endif() | |||
foreach(TEST_OP ${TEST_OPS}) | |||
py_test_modules(${TEST_OP} MODULES ${TEST_OP}) | |||
endforeach() | |||
set_tests_properties(test_logcumsumexp_op PROPERTIES TIMEOUT 30) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这行代码需要迁移到test/legacy_test/CMakeLists.txt下的,这个是设置单测timeout时间的,说明这个单测跑的比较慢,可能偶发性导致CI超时。
@Marcusryz 请根据review意见处理下 |
已经处理了 |
…66152) * Fix some bugs in test_logcumsumexp_op when PIR not support .name. * Add TIMEOUT SETTING for test_logsumcumexp_op.
PR Category
Others
PR Types
Others
Description
Fix test_crop_op.
PIR 不支持 .name,所以这个 test_name 可以跳过 PIR 的测试。
使用 with paddle.pir_utils.OldIrGuard() 包裹问题代码块。
关联 issue:#63740
Pcard-67164