Skip to content

Commit

Permalink
Add mkldnn build option for inference CI (PaddlePaddle#49240)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalsliu authored Jan 9, 2023
1 parent aa41d3e commit 5a1d081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/scripts/paddle_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3190,7 +3190,7 @@ EOF
startTime_s=`date +%s`
set +e

cmake .. -DWITH_DISTRIBUTE=OFF -DON_INFER=ON -DWITH_TENSORRT=ON -DCUDA_ARCH_NAME=${CUDA_ARCH_NAME:-Auto} -DWITH_PYTHON=${WITH_PYTHON:-ON} -DWITH_ONNXRUNTIME=${WITH_ONNXRUNTIME:-OFF};build_error=$?
cmake .. -DWITH_DISTRIBUTE=OFF -DON_INFER=ON -DWITH_TENSORRT=ON -DCUDA_ARCH_NAME=${CUDA_ARCH_NAME:-Auto} -DWITH_PYTHON=${WITH_PYTHON:-ON} -DWITH_ONNXRUNTIME=${WITH_ONNXRUNTIME:-OFF} -DWITH_MKL=${WITH_MKL:-ON} -DWITH_MKLDNN=${WITH_MKLDNN:-ON} ;build_error=$?

# reset ccache zero stats for collect PR's actual hit rate
ccache -z
Expand Down

0 comments on commit 5a1d081

Please sign in to comment.