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.
Create a new conda environment, conda env create -f environment.yaml.
Activate your new conda environment, conda activate fooocus.
Install the packages required by Fooocus, pip install -r requirements_versions.txt.
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.
如题,prompt中文方便,我已装fooocus原装,但没有windows的设备,英文不是很方便~蟹蟹~