iperov / DeepFaceLive

Real-time face swap for PC streaming or video calls
GNU General Public License v3.0
24.81k stars 4.13k forks source link

Questions: AI accelerator card #182

Closed AlexNikMak closed 9 months ago

AlexNikMak commented 9 months ago

Hello everyone, I’m quite new to this topic, so forgive me in advance if the question is posted in the wrong way or is off topic.

I'm wondering if it's possible to use M.2 Accelerator with Dual Edge TPU(https://coral.ai/products/m2-accelerator-dual-edgetpu/) instead of or together with a regular video card. Also, will this bring a performance increase or will it significantly reduce the use of the video card? Or will replace it altogether. This question interests me greatly since these devices are relatively inexpensive compared to video cards.

Thank you very much for your answer.

iperov commented 9 months ago

onnxruntime does not support tpu's

iperov commented 9 months ago

also tpu from link is only for int8. Deepfake requires float32

AlexNikMak commented 9 months ago

Thanks for your reply. In this case, maybe you know a way to improve performance other than purchasing a more powerful video card, or is this the only way?