insightface
insightface copied to clipboard
Multi-gpu usage
model = insightface.app.FaceAnalysis() ctx_id = 0 model.prepare(ctx_id = ctx_id, nms=0.4)
This is how i build model. with ctx_id param i can select only one gpu for model,
how can i choose all 4 gpus for model, is there any way ? putting in list [0,1,2,3] does not work btw.
Thanks!
Any idea ?
Hi @pasa13142 You can actually find all the available GPU's on your system. Let me know what error you got, and how many gpu's are availaible.
I got 4 gpus available, actually i got no error. This is just asking question. When training part we can give 4 gpus, likewise how i can run model with these 4 gpus ?
@pasa13142 Did you get it work with multi-gpu?
anyone manage this?