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

M3 Mac run fps only 0.1

Open fuckgm opened this issue 6 months ago • 8 comments

Applied providers: ['CoreMLExecutionProvider', 'CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}, 'CoreMLExecutionProvider': {}} inswapper-shape: [1, 3, 128, 128]

i run this in M3 Macbook ,it's only 0.1 FPS,what can i do ?

fuckgm avatar May 17 '25 04:05 fuckgm

lolkins000 avatar May 17 '25 18:05 lolkins000

same on M4

arturo-lr-dev avatar May 20 '25 17:05 arturo-lr-dev

1.5fps on m3max

b8kings0ga avatar May 24 '25 04:05 b8kings0ga

Funny thing is, that the 1.7.3 version I bought from gumroad delivered solid 10fps on my M3Pro. Now even this version is down to <1fps.

Taking a look at the script output (which successfully shows CoreMLExecutionProvider as an applied provider) my gut feeling is that CoreML somehow decides to go for the CPU and not the GPU ...

udoschneider avatar May 26 '25 12:05 udoschneider

1.2fps on M4 Pro 14 core cpu using coreml. Using cpu is still at 1.2fps, sometimes 1.1.

I feel @udoschneider is right, the results I'm getting are pretty similar. In my opinion there is support but this was not made to be efficient on macOS at all. It should be rebuild using MLX to get proper fps. On a machine like mine it should at least be 30 fps

neokree avatar Jun 05 '25 05:06 neokree

This is the reason why this is open source. I currently doesnt have any mac so hoping that you guys can help on this 😄

hacksider avatar Jun 05 '25 06:06 hacksider

Same. M3 macbook only 0.1/0.2 fps. I'm not very good at solving these problems, I just followed the steps and that's it.

ocii06 avatar Jun 23 '25 12:06 ocii06

Mac M4 Air, MPS enabled: 6FPS without face_enhancer 1.2FPS with face_enhancer

  Model Name: MacBook Air
  Model Identifier: Mac16,12
  Model Number: MW103CH/A
  Chip: Apple M4
  Total Number of Cores: 10 (4 performance and 6 efficiency)
  Memory: 16 GB

Selected device: mps and device priority: ['MPS']

Dynmi avatar Oct 12 '25 04:10 Dynmi