visual-chatgpt icon indicating copy to clipboard operation
visual-chatgpt copied to clipboard

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

Open Juniorable opened this issue 2 years ago • 2 comments

I run this project on Colab, and after debugging, the VisGPT dialog interface opened up. However, it gave an error after just greeting me. The error message is as follows: "RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel. errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1."

I tried downgrading the CUDA version from 11.8 to 11.6, which is compatible with Torch1.12.1, but the same error persists. I am seeking help from everyone, and I would be extremely grateful for any assistance!

Juniorable avatar Mar 13 '23 01:03 Juniorable

See https://github.com/microsoft/visual-chatgpt/issues/2#issuecomment-1465486473

jxtps avatar Mar 13 '23 04:03 jxtps

@Ableable96 This error happen because pytorch version is not compatible with CUDA, and also you can reference my Colab version https://github.com/K-tang-mkv/visual-chatgpt-googlecolab

K-tang-mkv avatar Mar 13 '23 05:03 K-tang-mkv