This guide assumes you already have checked out the apple-silicon-mps-support
branch from https://github.com/bfirsh/stable-diffusion
- Add the sys path line to img2img.py above the ldm imports like so
sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
from ldm.util import instantiate_from_config
from ldm.models.diffusion.ddim import DDIMSampler