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

编译问题 #937

Open
starkeisntein opened this issue Oct 18, 2023 · 3 comments
Open

编译问题 #937

starkeisntein opened this issue Oct 18, 2023 · 3 comments

Comments

@starkeisntein
Copy link

一开始用的是release版镜像,会有指令core,目测是发布的版本和本机器cpu指令集有不兼容的地方。所以自己编译一版,有一些小问题。

我是在docker容器内编译的,宿主机的cuda是12.0,容器是不是也要装一套一样的cuda+cudnn?

@starkeisntein
Copy link
Author

screenshot-20231018-190100

@candyzone
Copy link
Collaborator

看起来是容器内没有把device 挂进来

@starkeisntein
Copy link
Author

看起来是容器内没有把device 挂进来

确实是因为docker run没有带上--gpus all

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