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 3 months ago
0
Follow
When using `HuggingFaceEmbeddings` to
When using `HuggingFaceEmbeddings` to
Inactive
0
Follow
G
Gpt. Alex
10 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
10 months ago
It uses GPU by default if cuda is available
L
Logan M
10 months ago
Optionally you can specify the device
device="cuda:0"
G
Gpt. Alex
10 months ago
perfect, thanks!
Add a reply
Sign up and join the conversation on Discord
Join on Discord