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

No-Kernal Image Error when using Qulacs-GPU #275

Closed
irfankhan10 opened this issue Dec 13, 2020 · 2 comments
Closed

No-Kernal Image Error when using Qulacs-GPU #275

irfankhan10 opened this issue Dec 13, 2020 · 2 comments

Comments

@irfankhan10
Copy link

irfankhan10 commented Dec 13, 2020

I get the following error when using Qulacs-GPU installed via PyPI:

Error: /tmp/pip-install-xt7zsonc/qulacs-gpu_87dd692bc8aa4961aa66cf205ec58776/src/gpusim/memory_ops.cu:71, code: 209, reason: no kernel image is available for execution on the device

CUDA Version: 11.1
Driver Version: 455.45.01
NVIDIA-SMI: 455.45.01
NVIDIA GPU Tesla K80

Please can you advise.

Googling "CUDA code: 209" suggests it is an issue with Qulacs, but I am not 100% sure.

@corryvrequan
Copy link
Contributor

corryvrequan commented Jan 28, 2021

Sorry for late reply. @irfankhan10 .
I'm also not sure why it happens since I haven't seen this error message. As far as we tested with Tesla V100 or GTX1080 and with CUDA Version 10, Qulacs can be built successfully and passes tests. As far as I googled, I understand that this error suggests that CUDA compiler outputs a binary that is not supported by Tesla K80 architecture.

While I'm not sure, I guess, a possible reason is that the CUDA computing compatibility of Tesla K80 is not enough for building Qulacs with CUDA 11.1.
So, downgrading CUDA11 to CUDA10 may resolve the problem, but I guess downgrading drivers may affect or break the environment and there is no guarantee qulacs works with it, so I cannot strongly recommend it...

@irfankhan10
Copy link
Author

OK, thanks for your suggestion. I will try and downgrade CUDA11 to CUDA10.

kotamanegi pushed a commit to kotamanegi/qulacs that referenced this issue Jun 14, 2022
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