Skip to content
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

Closed
cqray1990 opened this issue Nov 1, 2021 · 3 comments
Closed

build bug with cuda 10.2 and cudnn8.0 #9631

cqray1990 opened this issue Nov 1, 2021 · 3 comments

Comments

@cqray1990
Copy link

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

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • ONNX Runtime installed from (source or binary):
  • ONNX Runtime version:master branch
  • Python version:3.6
  • Visual Studio version (if applicable):
  • GCC/Compiler version (if compiling from source):
  • CUDA/cuDNN version:10.2/8.0
  • GPU model and memory:

To Reproduce

  • Describe steps/code to reproduce the behavior.
  • Attach the ONNX model to the issue (where applicable) to expedite investigation.

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)

@snnn
Copy link
Member

snnn commented Nov 1, 2021

What GPU hardware do you have?

@pranavsharma
Copy link
Contributor

Duplicate of #9628

@pranavsharma pranavsharma marked this as a duplicate of #9628 Nov 1, 2021
@cqray1990
Copy link
Author

@snnn cuda 10.2 /cudnn 8.0 2080ti driver 460

@cqray1990 cqray1990 mentioned this issue Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants