@@ -84,11 +84,11 @@ if not defined INFERENCE_DEMO_INSTALL_DIR set INFERENCE_DEMO_INSTALL_DIR=%cache_
8484if not defined LOG_LEVEL set LOG_LEVEL = normal
8585if not defined PRECISION_TEST set PRECISION_TEST = OFF
8686if not defined WIN_UNITTEST_LEVEL set WIN_UNITTEST_LEVEL = 2
87- rem LEVEL 0: For unittests unrelated to CUDA/TRT or unittests without GPU memory, only run on
87+ rem LEVEL 0: For unittests unrelated to CUDA/TRT or unittests without GPU memory, only run on
8888rem PR-CI-Windows-Infernece(CUDA 11.2), skip them on PR-CI-Windows(CUDA 12.0)
89- rem LEVEL 1: For unittests unrelated to CUDA/TRT, only run on PR-CI-Windows-Infernece(CUDA 11.2),
89+ rem LEVEL 1: For unittests unrelated to CUDA/TRT, only run on PR-CI-Windows-Infernece(CUDA 11.2),
9090rem skip them on PR-CI-Windows(CUDA 12.0)
91- rem LEVEL 2: run all test
91+ rem LEVEL 2: run all test
9292if not defined NIGHTLY_MODE set NIGHTLY_MODE = OFF
9393if not defined retry_times set retry_times = 1
9494if not defined PYTHON_ROOT set PYTHON_ROOT = C:\Python38
@@ -376,15 +376,15 @@ if "%WITH_GPU%"=="ON" (
376376 if " !cuda_version! " == " 12.0" (
377377 set " PATH = C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;%PATH% "
378378 )
379- )
379+ )
380380echo %PATH%
381381rem CUDA_TOOLKIT_ROOT_DIR in cmake must use / rather than \
382382set TENSORRT_ROOT = %TENSORRT_ROOT:\ =/ %
383383set CUDA_TOOLKIT_ROOT_DIR = %CUDA_TOOLKIT_ROOT_DIR:\ =/ %
384384
385385rem install ninja if GENERATOR is Ninja
386386if %GENERATOR% == " Ninja" (
387- rem Set the default generator for cmake to Ninja
387+ rem Set the default generator for cmake to Ninja
388388 setx CMAKE_GENERATOR Ninja
389389 pip install ninja
390390 if %errorlevel% NEQ 0 (
@@ -503,7 +503,6 @@ echo %task_name%|findstr build >nul && (
503503:cmake_impl
504504cd /d %work_dir% \%BUILD_DIR%
505505rem whether to run cpp test
506- python -m pip install github
507506python -m pip install PyGithub
508507python %work_dir% \tools\check_only_change_python_files.py
509508if exist %work_dir% \%BUILD_DIR% \only_change_python_file.txt set WITH_CPP_TEST = OFF
0 commit comments