DeepFaceLab_MacOS icon indicating copy to clipboard operation
DeepFaceLab_MacOS copied to clipboard

M1 Mac mini not using metal device "Apple M1"

Open andrewortwein opened this issue 3 years ago • 5 comments

I have pulled the latest updates and the setup process goes much smoother now — thank you!

Unfortunately, the scripts still use my CPU. If I manually install tensor-metal, then the extraction scripts will successfully use my "Apple M1" metal device and the process is noticeably faster. But when I get to model training, I hit the same error as in #67.

Is anyone successfully training with metal on an M1 (not Pro) chip? Any thoughts on what code to dig into to troubleshoot?

andrewortwein avatar Feb 23 '22 16:02 andrewortwein

FYI I did try implementing the workaround in https://github.com/chychkan/DeepFaceLab_MacOS/issues/67#issuecomment-1029683645, but as noted below that comment, the script still uses the CPU.

andrewortwein avatar Feb 23 '22 18:02 andrewortwein

Have the same question

cantonalex avatar Feb 25 '22 14:02 cantonalex

Same

ipatpat avatar Mar 02 '22 16:03 ipatpat

The issue is tagged as "stale issue" due to no activity in 30 days. If there is no activity for 15 more days, the issue will be closed.

github-actions[bot] avatar Apr 02 '22 14:04 github-actions[bot]

I got this working! See the details here: https://github.com/chychkan/DeepFaceLab_MacOS/issues/77#issuecomment-1140354104

andrewortwein avatar May 29 '22 01:05 andrewortwein