chychkan / DeepFaceLab_MacOS

Run DeepFaceLab on MacOS
GNU General Public License v3.0
251 stars 55 forks source link

M1 Mac mini not using metal device "Apple M1" #78

Open andrewortwein opened 2 years ago

andrewortwein commented 2 years ago

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 commented 2 years ago

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.

cantonalex commented 2 years ago

Have the same question

ipatpat commented 2 years ago

Same

github-actions[bot] commented 2 years ago

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.

andrewortwein commented 2 years ago

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