-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build bug with cuda 10.2 and cudnn8.0 #9631
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A clear and concise description of what the bug is. To avoid repetition please make sure this is not one of the known issues mentioned on the respective release page.
Urgency
If there are particular important use cases blocked by this or strict project-related timelines, please share more information and dates. If there are no hard deadlines, please specify none.
System information
To Reproduce
when execte ./build.sh --parallel --build_shared_lib --build_wheel --config=RelWithDebInfo --use_cuda --cuda_home /usr/local/cuda --cudnn_home /usr/local/cuda --cuda_version=10.2 --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=52 --skip_tests
adding 'onnxruntime_gpu-1.10.0.data/purelib/onnxruntime/transformers/longformer/longformer_helper.py'
adding 'onnxruntime_gpu-1.10.0.dist-info/METADATA'
adding 'onnxruntime_gpu-1.10.0.dist-info/WHEEL'
adding 'onnxruntime_gpu-1.10.0.dist-info/entry_points.txt'
adding 'onnxruntime_gpu-1.10.0.dist-info/top_level.txt'
adding 'onnxruntime_gpu-1.10.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
2021-10-31 23:19:13,451 util.run [DEBUG] - Subprocess completed. Return code: 0
2021-10-31 23:19:13,451 build [INFO] - Build complete
but when execute ./build.sh --parallel --build_shared_lib --build_wheel --config=RelWithDebInfo --use_cuda --cuda_home /usr/local/cuda --cudnn_home /usr/local/cuda --cuda_version=10.2 --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=52 with no --skip_tests flag
errors comes:
6/6 Test #6: onnxruntime_api_tests_without_env ...... Passed 0.02 sec
83% tests passed, 1 tests failed out of 6
Total Test time (real) = 36.69 sec
The following tests FAILED:
1 - onnxruntime_test_all (Failed)
Errors while running CTest
Traceback (most recent call last):
File "sensors/onnxruntime/tools/ci_build/build.py", line 2353, in
sys.exit(main())
File "/sensors/onnxruntime/tools/ci_build/build.py", line 2277, in main
run_onnxruntime_tests(args, source_dir, ctest_path, build_dir, configs)
File "sensors/onnxruntime/tools/ci_build/build.py", line 1592, in run_onnxruntime_tests
run_subprocess(ctest_cmd, cwd=cwd, dll_path=dll_path)
File "sensors/onnxruntime/tools/ci_build/build.py", line 631, in run_subprocess
return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
The text was updated successfully, but these errors were encountered: