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

抓狂,过了一夜报错:UDA initialization failure with error: 222.,之前还是跑通的 #106

Open
Luluoy opened this issue Mar 31, 2024 · 1 comment

Comments

@Luluoy
Copy link

Luluoy commented Mar 31, 2024

[03/31/2024-19:22:30] [W] [TRT] Unable to determine GPU memory usage
[03/31/2024-19:22:30] [W] [TRT] Unable to determine GPU memory usage
[03/31/2024-19:22:30] [I] [TRT] [MemUsageChange] Init CUDA: CPU +0, GPU +0, now: CPU 60, GPU 0 (MiB)
[03/31/2024-19:22:30] [W] [TRT] CUDA initialization failure with error: 222. Please check your CUDA installation: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
[03/31/2024-19:22:30] [E] initEngine() ocur errors!
报错信息如上,请有相同经历的同志帮忙解答

@dancing-ui
Copy link

dancing-ui commented Aug 15, 2024

先说结论:cuda环境没装好才会出这个问题。
解决方案:选择自己nvidia显卡对应的TensorRT版本,然后装TensorRT版本对应的cuda和cudnn,并使用TensorRT自带的sample_onnx_mnist验证cuda环境是否安装好了,教程参考:https://blog.csdn.net/qq_40102732/article/details/135182310

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

2 participants