Run this model with HF Jobs

Run stabilityai/stable-diffusion-3.5-medium on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/stabilityai/stable-diffusion-3.5-medium. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/stabilityai/stable-diffusion-3.5-medium on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Hi, I'm having some trouble with Stable Diffusion 3.5 on my MPS device.

#20
by PlanetDance19 - opened

Hi, I'm having some trouble with Stable Diffusion 3.5 on my MPS device.

My setup is as follows:

MacBook Pro M1 Max 32GB
macOS 15.2
Python 3.11.10
PyTorch 2.4.1
ComfyUI 2921 [e83063] (2024-12-14)
I'm generating images that look like mosaics, even when using the SD3.5M_example_workflow.json file without any modifications. The generated images are quite strange.

I've tried various troubleshooting methods, including:

  • Changing samplers and schedulers
  • Adjusting steps and CFG values
  • Updating PyTorch and Python
  • Trying different CLIP models
  • Switching the main model to GGUF

Despite these attempts, the images still appear distorted. As a beginner, I'm at a loss for other explanations and suspect that the MPS might be causing the issue.

I've attached some sample images and their corresponding workflows for your reference.

ComfyUI_temp_aphqm_00001_.png
ComfyUI_temp_aotjt_00004_.png

Your CFG setting might be too high. That tends to result in this kind of stuff. It shouldn't be set higher than 7.

Sign up or log in to comment