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

Runtime Error #2

Closed
maojinyang opened this issue Mar 14, 2023 · 2 comments
Closed

Runtime Error #2

maojinyang opened this issue Mar 14, 2023 · 2 comments

Comments

@maojinyang
Copy link

您好!运行模型出现以下的报错信息:
RuntimeError: The following operation failed in the TorchScript interpreter.
Traceback of TorchScript (most recent call last):
RuntimeError: nvrtc: error: failed to open libnvrtc-builtins.so.11.5.
Make sure that libnvrtc-builtins.so.11.5 is installed correctly.

@Sengxian
Copy link
Contributor

Sengxian commented Mar 14, 2023

你好 @maojinyang,这应该是 CUDA 链接库环境变量未正确配置导致的,根据实际 CUDA 安装地址,执行类似命令即可:export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH

@maojinyang
Copy link
Author

非常感谢!

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