# Hugging Face — Fine-tuning Stable Diffusion models on Intel CPUs

- Company: Hugging Face (huggingface.co)
- Announced: 2023-07-14
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://huggingface.co/blog/stable-diffusion-finetuning-intel
- Record: https://forck.live/items/2028-fine-tuning-stable-diffusion-models-on-intel-cpus
- Subject: Platform
- Models affected: Stable Diffusion

To fine-tune a Stable Diffusion model on an Intel Sapphire Rapids CPU cluster using textual inversion with only five example images. It covers setting up a multi-node cluster, installing dependencies including Intel oneCCL and Intel Extension for PyTorch, and modifying the Diffusers library's textual inversion script to leverage Intel AMX hardware acceleration.

## Evidence

Verbatim from https://huggingface.co/blog/stable-diffusion-finetuning-intel:

> This post will show you how to fine-tune a Stable Diffusion model on an Intel Sapphire Rapids CPU cluster.

---

Record: https://forck.live/items/2028-fine-tuning-stable-diffusion-models-on-intel-cpus
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
