diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index 2a18d2f7e0195dab81ae0336c65b4678ae3e55bf..f538193782179ab0a2909cf7f9eb9a4699e15b2e 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -680,7 +680,12 @@ pip install requests set PATH=%THIRD_PARTY_PATH:/=\%\install\openblas\lib;%THIRD_PARTY_PATH:/=\%\install\openblas\bin;^ %THIRD_PARTY_PATH:/=\%\install\zlib\bin;%THIRD_PARTY_PATH:/=\%\install\mklml\lib;^ -%THIRD_PARTY_PATH:/=\%\install\mkldnn\bin;%THIRD_PARTY_PATH:/=\%\install\warpctc\bin;%PATH% +%THIRD_PARTY_PATH:/=\%\install\mkldnn\bin;%THIRD_PARTY_PATH:/=\%\install\warpctc\bin;^ +%THIRD_PARTY_PATH:/=\%\install\onnxruntime\lib;%THIRD_PARTY_PATH:/=\%\install\paddle2onnx\lib;^ +%work_dir%\%BUILD_DIR%\paddle\fluid\inference;%PATH% + +REM TODO: make ut find .dll in install\onnxruntime\lib +xcopy %THIRD_PARTY_PATH:/=\%\install\onnxruntime\lib\onnxruntime.dll %work_dir%\%BUILD_DIR%\paddle\fluid\inference\tests\api\ /Y if "%WITH_GPU%"=="ON" ( call:parallel_test_base_gpu diff --git a/tools/windows/run_unittests.sh b/tools/windows/run_unittests.sh index 44dc4eac261187b2b52a9695bc3fd6e8a0c311e9..bedd44c06d5062229629f8b5cff701815c7b47bd 100644 --- a/tools/windows/run_unittests.sh +++ b/tools/windows/run_unittests.sh @@ -85,6 +85,7 @@ disable_win_inference_api_test="^trt_quant_int8_yolov3_r50_test$|\ ^lite_resnet50_test$|\ ^test_trt_dynamic_shape_transformer_prune$|\ ^lite_mul_model_test$|\ +^trt_split_converter_test$|\ ^paddle_infer_api_copy_tensor_tester$" @@ -191,10 +192,6 @@ if [ -f "$PADDLE_ROOT/added_ut" ];then echo "========================================" exit 8; fi - if nvcc --version | grep 11.2; then - echo "Only test added_ut temporarily when running in CI-Windows-inference of CUDA 11.2." - exit 0; - fi fi set -e