gaomingqi / Track-Anything

Track-Anything is a flexible and interactive tool for video object tracking and segmentation, based on Segment Anything, XMem, and E2FGVI.
MIT License
6.4k stars 471 forks source link

Using multi-GPUs #130

Open dongho-Han opened 5 months ago

dongho-Han commented 5 months ago

Thanks for nice work!

I want to run app.py with multi GPUs due to GPU memory problem.. But if I change the line https://github.com/gaomingqi/Track-Anything/blob/e6e159273790974e04eeea6673f1f93c035005fc/app.py#L381 as, args.device = "cuda:0,1,2" like this, it makes runtime error. Is there any way to run your app with multiple GPUs??

Thanks.

happyCoderZC commented 3 months ago

@dongho-Han Hi! I have the same question with yours. Can you find the solution to use multi-GPUs? Thanks.