Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 6 additions & 2 deletions python/paddle/fluid/tests/unittests/ipu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ if(WITH_IPU)
endforeach()

set_tests_properties(test_conv_op_ipu PROPERTIES TIMEOUT 300)
set_tests_properties(test_elemetwise_x_op_ipu PROPERTIES TIMEOUT 300)
set_tests_properties(test_reduce_x_op_ipu PROPERTIES TIMEOUT 600)
set_tests_properties(test_elemetwise_x_op_ipu PROPERTIES TIMEOUT 600)
set_tests_properties(test_reduce_x_op_ipu PROPERTIES TIMEOUT 800)
set_tests_properties(test_save_load_ipu PROPERTIES TIMEOUT 600)
set_tests_properties(test_activation_ops_ipu PROPERTIES TIMEOUT 600)
set_tests_properties(test_unary_ops_ipu PROPERTIES TIMEOUT 600)
set_tests_properties(test_greater_op_ipu PROPERTIES TIMEOUT 400)
set_tests_properties(test_conv2d_transpose_op_ipu PROPERTIES TIMEOUT 300)
set_tests_properties(test_model_parallel_ipu PROPERTIES TIMEOUT 300)

add_subdirectory(custom_ops)

Expand Down
8 changes: 8 additions & 0 deletions python/paddle/fluid/tests/unittests/ipu/op_test_ipu.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,14 @@ def run_op_test(self, exec_mode, ipu_strategy=None):
if self.is_fp16_mode(exec_mode):
ipu_strategy.set_precision_config(enable_fp16=True)
IPUOpTest.cast_model_to_fp16(self.main_prog)

# TODO(ipu) remove in the future version of popart
# keep the log clean, no side effects for tests without profiling
ipu_strategy.set_options(
{'engine_options': {
'debug.retainDebugInformation': 'false'
}})

program = paddle.static.IpuCompiledProgram(
self.main_prog,
ipu_strategy=ipu_strategy).compile(self.feed_list,
Expand Down