合并langchain 一直RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper_CUDA__index_select) #790
Unanswered
forgetObsession
asked this question in
Q&A
Replies: 1 comment
-
Hi! ^^ I can confirm this issue! And I had the same error previously, using just a string as a query! Strangely enough, ... even though, I should clearly either change my pre-query or prompt template or go full RAG on this (might not be the best example shooting an LLM onto) :-P If someone has an idea to this.... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions