Anyone have this working well on M1? #69

Open
opened 2022-01-15 04:29:46 +01:00 by cantonalex · 11 comments
cantonalex commented 2022-01-15 04:29:46 +01:00 (Migrated from github.com)

Having issues installing numpy and tensorflow packages on my M1. Interested to know if someone is successfully training.

Having issues installing numpy and tensorflow packages on my M1. Interested to know if someone is successfully training.
invokermoon commented 2022-01-22 10:45:31 +01:00 (Migrated from github.com)

same question

same question
xyfl0203 commented 2022-02-04 05:25:15 +01:00 (Migrated from github.com)

you can install tensorflow with this url
https://developer.apple.com/metal/tensorflow-plugin/

you can install tensorflow with this url https://developer.apple.com/metal/tensorflow-plugin/
xyfl0203 commented 2022-02-04 05:28:05 +01:00 (Migrated from github.com)

Having issues installing numpy and tensorflow packages on my M1. Interested to know if someone is successfully training.

i use conda to install numpy
conda install -n "your env`name" numpy

> Having issues installing numpy and tensorflow packages on my M1. Interested to know if someone is successfully training. i use conda to install numpy conda install -n "your env`name" numpy
chychkan commented 2022-02-23 14:56:16 +01:00 (Migrated from github.com)

With recent fixes, now there's partial support for M1 laptops. XSeg is still not working (there's separate open issue https://github.com/chychkan/DeepFaceLab_MacOS/issues/77), but the rest of the scripts should be usable now.

With recent fixes, now there's partial support for M1 laptops. XSeg is still not working (there's separate open issue https://github.com/chychkan/DeepFaceLab_MacOS/issues/77), but the rest of the scripts should be usable now.
cantonalex commented 2022-02-25 07:37:56 +01:00 (Migrated from github.com)

I'm still getting that numpy error any suggestions?
`note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

`

I'm still getting that numpy error any suggestions? `note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for numpy Failed to build numpy ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. `
chychkan commented 2022-03-04 20:15:47 +01:00 (Migrated from github.com)

@cantonalex I would suggest starting from scratch, just to avoid any weird leftovers from previous attempts, so clone this repo afresh. If still the same error, then you can also try installing numpy manually by activating the virtual env (command: source .dfl/env/bin/activate) and installing numpy with pip install numpy==1.21.4. If that is successful, then you can try running the setup script again.

@cantonalex I would suggest starting from scratch, just to avoid any weird leftovers from previous attempts, so clone this repo afresh. If still the same error, then you can also try installing numpy manually by activating the virtual env (command: `source .dfl/env/bin/activate`) and installing numpy with `pip install numpy==1.21.4`. If that is successful, then you can try running the setup script again.
cantonalex commented 2022-03-06 02:09:41 +01:00 (Migrated from github.com)

@chychkan got it working but can't seem to with metal. https://github.com/chychkan/DeepFaceLab_MacOS/issues/81#issuecomment-1059767585

@chychkan got it working but can't seem to with metal. https://github.com/chychkan/DeepFaceLab_MacOS/issues/81#issuecomment-1059767585
chychkan commented 2022-03-06 04:21:35 +01:00 (Migrated from github.com)

Yeah, there's a problem with metal. Looks like the code of DeepFaceLab itself needs to be adjusted to support GPU on M1's.

Yeah, there's a problem with metal. Looks like the code of DeepFaceLab itself needs to be adjusted to support GPU on M1's.
marshalleq commented 2023-02-10 05:16:19 +01:00 (Migrated from github.com)

So that means no GPU training?

So that means no GPU training?
prashantspandey commented 2023-03-16 21:05:02 +01:00 (Migrated from github.com)

Any updates, did anyone get it to run on GPU?

Any updates, did anyone get it to run on GPU?
marshalleq commented 2023-03-17 20:07:41 +01:00 (Migrated from github.com)

Can't get it to run at all on Ventura.

Can't get it to run at all on Ventura.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CalvinBackup/DeepFaceLab_MacOS#69