M
apple-aiml-research/ml-stable-diffusion★ 17,956 · Python
Core ML conversion and Swift inference for on-device Stable Diffusion on Apple Silicon
MIT · Commercial Friendly1.1.1
Side-by-side 2026 comparison in Voice, Vision & Video: huggingface/pytorch-image-models leads both total GitHub adoption (★ 37.3k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Core ML conversion and Swift inference for on-device Stable Diffusion on Apple Silicon
PyTorch vision SDK for swapping, training, and deploying image backbones
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | apple-aiml-research/ml-stable-diffusion | huggingface/pytorch-image-models |
|---|---|---|
| Total GitHub Stars | ★ 17,956 | ★ 37,322 |
| 24h / 7d Velocity | +0 / +1 | +1 / +12 |
| 7-Day Trend Curve | ||
| Engineering Health | B+ · 70/100 | A+ · 100/100 |
| Deployment Signals | Local AI · CLI | GPU |
| Primary Language | Python | Python |
| Commercial License | MIT · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 2mo ago | Updated yesterday |
| Latest Release | 1.1.1 | v1.0.31 |
| Best For | Apple-platform teams shipping local image generation in a Swift app or testing Core ML model bundles from the CLI on target devices | PyTorch teams comparing pretrained vision backbones, fine-tuning single- or multi-label classifiers, or integrating intermediate image features into a larger system |
StableDiffusion and StableDiffusionSample consume bundled resources on the Swift side.--sd3 mode.--latent-h 96 --latent-w 96 targets 768×768; SPLIT_EINSUM is recommended for CPU plus Neural Engine, while V2 is discouraged for XL compilation.conda create -n coreml_stable_diffusion python=3.8 -y conda activate coreml_stable_diffusion cd /path/to/cloned/ml-stable-diffusion/repository pip install -e .
forward_intermediates() and prune_intermediate_layers() cover every model in v1.0.31; features_only support is more selective.--task multilabel supports BCE training, distributed dataset-level mAP, and micro, macro, and sample F1.sweep.py runs resumable grid or random searches on local GPUs and can branch WSD cooldowns from milestone checkpoints.@misc{rw2019timm,
author = {Ross Wightman},
title = {PyTorch Image Models},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
doi = {10.5281/zenodo.4414861},
howpublished = {\url{https://github.com/rwightman/pytorch-image-models}}
}Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy