Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyone have this working well on M1? #69

Open
cantonalex opened this issue Jan 15, 2022 · 11 comments
Open

Anyone have this working well on M1? #69

cantonalex opened this issue Jan 15, 2022 · 11 comments

Comments

@cantonalex
Copy link
Contributor

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

@invokermoon
Copy link

same question

@xyfl0203
Copy link

xyfl0203 commented Feb 4, 2022

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

@xyfl0203
Copy link

xyfl0203 commented Feb 4, 2022

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
Copy link
Owner

With recent fixes, now there's partial support for M1 laptops. XSeg is still not working (there's separate open issue #77), but the rest of the scripts should be usable now.

@cantonalex
Copy link
Contributor Author

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
Copy link
Owner

chychkan commented Mar 4, 2022

@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
Copy link
Contributor Author

@chychkan got it working but can't seem to with metal. #81 (comment)

@chychkan
Copy link
Owner

chychkan commented Mar 6, 2022

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
Copy link

So that means no GPU training?

@prashantspandey
Copy link

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

@marshalleq
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants