Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

How may I select which cuda device I use?

Open Siigari opened this issue 1 year ago • 1 comments

I have two GPUs. How do I command line select which one to use?

Thanks.

Siigari avatar Aug 12 '24 18:08 Siigari

I inserted this on top of core.py

os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = "1"

jiwoo-writing avatar Aug 14 '24 15:08 jiwoo-writing