warmshao / FasterLivePortrait

Bring portraits to life in Real Time!onnx/tensorrt support!实时肖像驱动!
446 stars 38 forks source link

GPU load is too low when M1 Pro is running #30

Closed HildaM closed 1 month ago

HildaM commented 1 month ago

When running the sample project on M1 chip, I found that the CPU load is high and GPU load is low.It should be because MPS is not called.

Is it possible to add MPS support in the future?

warmshao commented 1 month ago

When running the sample project on M1 chip, I found that the CPU load is high and GPU load is low.It should be because MPS is not called.

Is it possible to add MPS support in the future?

I've also noticed that because the 5D grid sample of onnxruntime has not yet implemented CoreML's acceleration, it's quite slow. I'm afraid this is not a feature I will prioritize in the future, as I am not familiar with CoreML optimizations. 😟