未验证 提交 54b86fd4 编写于 作者: R risemeup1 提交者: GitHub

fix cinn compile error (#54899)

上级 bb42d870
if(WITH_CINN)
set(eager_deps ${eager_deps} cinn_compiler python)
endif()
cc_test_old(
test_egr_ds_eager_tensor
SRCS
......@@ -5,8 +8,7 @@ cc_test_old(
DEPS
fleet_executor
final_dygraph_function
${eager_deps}
python)
${eager_deps})
cc_test_old(
test_egr_ds_auotgrad_meta
SRCS
......@@ -14,13 +16,9 @@ cc_test_old(
DEPS
fleet_executor
final_dygraph_function
${eager_deps}
python)
${eager_deps})
if(NOT ((NOT WITH_PYTHON) AND ON_INFER))
if(WITH_CINN)
set(eager_deps ${eager_deps} cinn_compiler python)
endif()
cc_test_old(
test_egr_ds_grad_tensor_holder
SRCS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册