Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 2 months ago
0
Follow
When using `HuggingFaceEmbeddings` to
When using `HuggingFaceEmbeddings` to
Inactive
0
Follow
G
Gpt. Alex
9 months ago
ยท
When using
HuggingFaceEmbeddings
to generate embeddings, how do I specify that I want the GPU to be used? Is there something like langchains
model_kwargs?
L
G
3 comments
Share
Open in Discord
L
Logan M
9 months ago
It uses GPU by default if cuda is available
L
Logan M
9 months ago
Optionally you can specify the device
device="cuda:0"
G
Gpt. Alex
9 months ago
perfect, thanks!
Add a reply
Sign up and join the conversation on Discord
Join on Discord