diff --git a/python/paddle/fluid/tests/unittests/npu/CMakeLists.txt b/python/paddle/fluid/tests/unittests/npu/CMakeLists.txt index 57e52206653c8963a89eed01fae17c64582ff662..0c868e4568240f6960e510f0025f85d8241b7601 100644 --- a/python/paddle/fluid/tests/unittests/npu/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/npu/CMakeLists.txt @@ -6,7 +6,8 @@ string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}") if(WITH_ASCEND_CL) foreach(TEST_OP ${TEST_OPS}) - py_test_modules(${TEST_OP} MODULES ${TEST_OP}) + py_test_modules(${TEST_OP} MODULES ${TEST_OP} ENVS + FLAGS_USE_STANDALONE_EXECUTOR=0) endforeach() # NOTE: NPU `get_float_status` read the value from register, During the test,