We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24843c5 commit bd65400Copy full SHA for bd65400
python/paddle/fluid/tests/unittests/dygraph_to_static/CMakeLists.txt
@@ -1,5 +1,6 @@
1
file(GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "test_*.py")
2
string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")
3
+set(GC_ENVS FLAGS_eager_delete_tensor_gb=0.0)
4
5
list(REMOVE_ITEM TEST_OPS test_lac)
6
# NOTE(Aurelius84): In case of Windows CI, if open ON_INFER, RWLOCK of Scope will
@@ -10,7 +11,7 @@ if(NOT ON_INFER)
10
11
endif()
12
13
foreach(TEST_OP ${TEST_OPS})
- py_test_modules(${TEST_OP} MODULES ${TEST_OP})
14
+ py_test_modules(${TEST_OP} MODULES ${TEST_OP} ENVS ${GC_ENVS})
15
endforeach(TEST_OP)
16
17
set_tests_properties(test_se_resnet PROPERTIES TIMEOUT 900)
0 commit comments