File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
paddle/fluid/inference/tests/api Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ option(WITH_INFERENCE "Compile fluid inference library" ON)
72
72
option (WITH_INFERENCE_API_TEST "Test fluid inference high-level api interface" OFF )
73
73
option (WITH_SYSTEM_BLAS "Use system blas library" OFF )
74
74
option (PY_VERSION "Compile PaddlePaddle with python3 support" ${PY_VERSION} )
75
- option (WITH_FAST_MATH "Make use of fast math library" OFF )
75
+ option (WITH_FAST_MATH "Make use of fast math library, might affect the precision to some extent" ON )
76
76
77
77
# PY_VERSION
78
78
if (NOT PY_VERSION )
Original file line number Diff line number Diff line change @@ -27,9 +27,6 @@ void SetConfig(AnalysisConfig *cfg) {
27
27
cfg->device = 0 ;
28
28
cfg->enable_ir_optim = true ;
29
29
cfg->specify_input_name = true ;
30
- #ifdef PADDLE_WITH_MKLDNN
31
- cfg->_use_mkldnn = true ;
32
- #endif
33
30
}
34
31
35
32
void SetInput (std::vector<std::vector<PaddleTensor>> *inputs) {
You can’t perform that action at this time.
0 commit comments