提交 4644c5ca authored 作者: notoraptor's avatar notoraptor

Revert "Try to fix cuDNN finding in jenkins tests for Windows"

This reverts commit 0c4f7f13. Set dnn.base_path earlier for jenkins tests on Windows.
上级 0c4f7f13
...@@ -14,7 +14,7 @@ set SUITE=--xunit-testsuite-name= ...@@ -14,7 +14,7 @@ set SUITE=--xunit-testsuite-name=
set THEANO_PARAM=theano --with-timer --timer-top-n 10 set THEANO_PARAM=theano --with-timer --timer-top-n 10
set THEANO_FLAGS=init_gpu_device=cuda set THEANO_FLAGS=init_gpu_device=cuda,dnn.base_path="%CUDNNPATH%"
REM Build libgpuarray REM Build libgpuarray
set GPUARRAY_CONFIG="Release" set GPUARRAY_CONFIG="Release"
...@@ -59,5 +59,5 @@ python -c "import theano.gpuarray; theano.gpuarray.use('%DEVICE%')" || exit /b ...@@ -59,5 +59,5 @@ python -c "import theano.gpuarray; theano.gpuarray.use('%DEVICE%')" || exit /b
REM Fast run and float32 REM Fast run and float32
set FILE=%BUILDBOT_DIR%\theano_python2_fastrun_f32_tests.xml set FILE=%BUILDBOT_DIR%\theano_python2_fastrun_f32_tests.xml
set NAME=win_fastrun_f32 set NAME=win_fastrun_f32
set THEANO_FLAGS=%THEANO_FLAGS%,compiledir=%COMPILEDIR:\=\\%,mode=FAST_RUN,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,floatX=float32,dnn.base_path=%CUDNNPATH%,gcc.cxxflags='-I%LIBDIR:\=\\%\\include -L%LIBDIR:\=\\%\\lib' set THEANO_FLAGS=%THEANO_FLAGS%,compiledir=%COMPILEDIR:\=\\%,mode=FAST_RUN,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,floatX=float32,gcc.cxxflags='-I%LIBDIR:\=\\%\\include -L%LIBDIR:\=\\%\\lib'
python bin\theano-nose %THEANO_PARAM% %XUNIT%%FILE% %SUITE%%NAME% python bin\theano-nose %THEANO_PARAM% %XUNIT%%FILE% %SUITE%%NAME%
...@@ -9,7 +9,7 @@ REM Set cache dir and copy from master ...@@ -9,7 +9,7 @@ REM Set cache dir and copy from master
set COMPILEDIR=%WORKSPACE%\cache set COMPILEDIR=%WORKSPACE%\cache
REM C:\Windows\System32\robocopy /E /purge C:\Jenkins\theano_cache\buildbot_windows %COMPILEDIR% > nul REM C:\Windows\System32\robocopy /E /purge C:\Jenkins\theano_cache\buildbot_windows %COMPILEDIR% > nul
set THEANO_FLAGS=init_gpu_device=cuda set THEANO_FLAGS=init_gpu_device=cuda,dnn.base_path="%CUDNNPATH%"
REM Build libgpuarray REM Build libgpuarray
set GPUARRAY_CONFIG="Release" set GPUARRAY_CONFIG="Release"
...@@ -52,6 +52,5 @@ python -c "import theano.gpuarray; theano.gpuarray.use('%DEVICE%')" || exit /b ...@@ -52,6 +52,5 @@ python -c "import theano.gpuarray; theano.gpuarray.use('%DEVICE%')" || exit /b
set THEANO_PARAM=theano --with-timer --timer-top-n 10 --with-xunit --xunit-file=theano_win_pr_tests.xml set THEANO_PARAM=theano --with-timer --timer-top-n 10 --with-xunit --xunit-file=theano_win_pr_tests.xml
set NAME=pr_win set NAME=pr_win
set THEANO_FLAGS=%THEANO_FLAGS%,mode=FAST_RUN,floatX=float32,on_opt_error=raise,on_shape_error=raise,cmodule.age_thresh_use=604800,compiledir=%COMPILEDIR:\=\\%,dnn.base_path=%CUDNNPATH%,gcc.cxxflags='-I%LIBDIR:\=\\%\\include -L%LIBDIR:\=\\%\\lib' set THEANO_FLAGS=%THEANO_FLAGS%,mode=FAST_RUN,floatX=float32,on_opt_error=raise,on_shape_error=raise,cmodule.age_thresh_use=604800,compiledir=%COMPILEDIR:\=\\%,gcc.cxxflags='-I%LIBDIR:\=\\%\\include -L%LIBDIR:\=\\%\\lib'
dir %CUDNNPATH%\include || exit /b
python bin\theano-nose %THEANO_PARAM% --xunit-testsuite-name=%NAME% python bin\theano-nose %THEANO_PARAM% --xunit-testsuite-name=%NAME%
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论