Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated 4 months ago
0
Follow
Gpu
Gpu
Inactive
0
Follow
At a glance
t
thoraxe
last year
Β·
it looks like it's been asked previously but no clear answer and the docs aren't super clear either -- how do I make the
embedding
/indexing
use GPU? or, how do I know if it used/might use GPU?
L
t
6 comments
Share
Open in Discord
L
Logan M
last year
You can set
device="cuda"
in the constructor, but it should automatically use the gpu if cuda is available
You can check
nvidia-smi
in your terminal to view if a python process is using gpu memory
t
thoraxe
last year
i thought that was the case
t
thoraxe
last year
waiting for this environment to restart. i was getting oomkilled because it hink it wasn't picking up the gpu
L
Logan M
last year
Hmm interesting
I know you linked a page on onnx/Optimum embeddings earlier. Using GPU for those is a little more tricky (tbh I never got it to work)
t
thoraxe
last year
yeah no not doing the optimum stuff
t
thoraxe
last year
just the regular stuff
Add a reply
Sign up and join the conversation on Discord
Join on Discord