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

求mac(m1)一键启动 #40

Open
madsteed opened this issue Feb 12, 2024 · 1 comment
Open

求mac(m1)一键启动 #40

madsteed opened this issue Feb 12, 2024 · 1 comment

Comments

@madsteed
Copy link

如题,prompt中文方便,我已装fooocus原装,但没有windows的设备,英文不是很方便~蟹蟹~

@metercai
Copy link
Owner

和安装原版Fooocus一样,只需要把git的地址https://github.com/lllyasviel/Fooocus.git 改成 https://github.com/metercai/SimpleSDXL.git ,其他步骤完全一样:

  1. Install the conda package manager and pytorch nightly. Read the Accelerated PyTorch training on Mac Apple Developer guide for instructions. Make sure pytorch recognizes your MPS device.
  2. Open the macOS Terminal app and clone this repository with git clone https://github.com/lllyasviel/Fooocus.git.
  3. Change to the new Fooocus directory, cd Fooocus.
  4. Create a new conda environment, conda env create -f environment.yaml.
  5. Activate your new conda environment, conda activate fooocus.
  6. Install the packages required by Fooocus, pip install -r requirements_versions.txt.
  7. Launch Fooocus by running python entry_with_update.py. (Some Mac M2 users may need python entry_with_update.py --disable-offload-from-vram to speed up model loading/unloading.) The first time you run Fooocus, it will automatically download the Stable Diffusion SDXL models and will take a significant amount of time, depending on your internet connection.

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

2 participants