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

RuntimeError: CUDA error: invalid device ordinal

Open yananliusdu opened this issue 2 years ago • 2 comments

thanks for your amazing project.

I am trying to test on my Ubuntu20.04 with a GPU of RTX 3080, it gives following errors,

RuntimeError: CUDA error: invalid device ordinal 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 had tried my times but it still remained unsolved, do you have any hints on this issue?

thanks Screenshot from 2023-03-09 19-03-30

yananliusdu avatar Mar 09 '23 19:03 yananliusdu

There's two of the pretty much same answers that will solve your problem in the "closed" issues at this point; please check there.

b2zer avatar Mar 09 '23 20:03 b2zer

https://github.com/microsoft/visual-chatgpt/issues?q=is%3Aissue+is%3Aclosed :-)

b2zer avatar Mar 09 '23 20:03 b2zer