Trying to use Zephyr for representation but facing error. But getting RuntimeError: Expected all tensors to be on the same device. #2133
Replies: 2 comments
-
Thank you for sharing this. As a quick tip, I would advise opening this as an issue instead of a discussion since this seems like an error/issue rather than a discussion. It would make it easier for me to help you out since there is some information to be checked there that allows me to understand the context. For instance, which version of BERTopic are you using? Could you share your full code? I'm missing how you instantiated BERTopic here. Lastly, it might have something to do with how you instantiated the pipeline. Since you already specified how many layers should go the GPU, it stands that all information related to the GPU should be done in |
Beta Was this translation helpful? Give feedback.
-
Thanks @MaartenGr for your response. I have opened a issue on this. Also, I will try moving the |
Beta Was this translation helpful? Give feedback.
-
Hello I am facing this error in colab:
And my code is:
Beta Was this translation helpful? Give feedback.
All reactions