Skip to content
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

[CINN] fix check_cinn in Optest check condition error bug #53676

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python/paddle/fluid/tests/unittests/eager_op_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,9 @@ def disable_cal_ref_output(self):
def _enable_check_cinn_test(self, place, inputs, outputs):
# if the test not run in cuda or the paddle not compile with CINN, skip cinn test
if (
core.is_compiled_with_cinn()
and core.is_compiled_with_cuda()
and isinstance(place, fluid.CUDAPlace)
not core.is_compiled_with_cinn()
or not core.is_compiled_with_cuda()
or not isinstance(place, fluid.CUDAPlace)
):
return False
# CINN not support bfloat16 now, skip cinn test
Expand Down