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

RuntimeError: CUDA error: no kernel image is available for execution on the device #25

Open
Tobyzai opened this issue May 6, 2023 · 8 comments

Comments

@Tobyzai
Copy link

Tobyzai commented May 6, 2023

按照要求安装环境,我的显卡cuda是11.6,但是安装pytorch1.5.0只有cuda10.2的版本,运行代码后出现如下错误:RuntimeError: CUDA error: no kernel image is available for execution on the device。

用其它版本的pytorch跑又会出现其它的错误。

请问作者怎么解决?还有是否可以提供源码?

希望得到您的回复

@QQiangren
Copy link

QQiangren commented May 6, 2023 via email

@lwtgithublwt
Copy link

@Tobyzai 是否解决,能否告知

@lwtgithublwt
Copy link

邮件已经收到,我会尽快回复你。--任强强
RuntimeError: Caught RuntimeError in replica 0 on device 0
RuntimeError: CUDA error: no kernel image is available for execution on the device
image
如何解决,可否告知,感谢

@light-124
Copy link

@Tobyzai @lwtgithublwt 请问问题是否解决,能否告知

@lwtgithublwt
Copy link

@Tobyzai @lwtgithublwt 请问问题是否解决,能否告知

换一个其他的pytorch版本与相应的cuda版本

@Season-Chan
Copy link

@Tobyzai @lwtgithublwt 请问问题是否解决,能否告知

换一个其他的pytorch版本与相应的cuda版本

请问是具体哪个版本啊?请问是否方便发一份您处理的数据(SHIQ 测试集)结果给我,我的邮箱是834460698@@qq.com;感激不尽,现在非常需要!

@lwtgithublwt
Copy link

lwtgithublwt commented Jun 27, 2024 via email

@Season-Chan
Copy link

非常抱歉,代码是很早之前跑的,当时是因为显卡不支持官方说的cuda版本,就换了版本,应该是pytorch1.8或1.9及其对应cuda版本,具体版本记得不是很清楚了。

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年6月26日(星期三) 晚上9:21 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [fu123456/SHIQ] RuntimeError: CUDA error: no kernel image is available for execution on the device (Issue #25) @Tobyzai @lwtgithublwt 请问问题是否解决,能否告知 换一个其他的pytorch版本与相应的cuda版本 请问是具体哪个版本啊?请问是否方便发一份您处理的数据(SHIQ 测试集)结果给我,我的邮箱是834460698@@qq.com;感激不尽,现在非常需要! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

好的,感谢老哥指点。

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

5 participants