KeyBERT icon indicating copy to clipboard operation
KeyBERT copied to clipboard

Efficient KeyLLM + KeyBERT - Torch not compiled with CUDA enabled

Open sam-frampton opened this issue 1 year ago • 1 comments

Testing out Efficient KeyLLM + KeyBERT in a pipeline, when the code hits the refinement stage using LLM I get error

"Error while extracting keywords from text: Torch not compiled with CUDA enabled"

This line that breaks the code inside extract keywords class - doc_embeddings = torch.from_numpy(doc_embeddings).float().to("cpu")

sam-frampton avatar Feb 11 '24 21:02 sam-frampton

Thanks for sharing this. Could you share your full code including the full error message?

MaartenGr avatar Feb 15 '24 11:02 MaartenGr