mlboydaisuke/coreml-zoo

Model

1

stars

98

commits

25

linked in READMEs

Aug 15, 2026

updated

apple
core-ml
coreml
coremltools
ios
macos
mlpackage
model-zoo
on-device
Browse cluster: On-device LLM deployment via CoreML

README

Core ML Models Zoo

31 PyTorch models converted to Core ML (.mlpackage) for on-device inference on iPhone, iPad and Mac — detection, segmentation, depth, matting, diffusion, TTS, source separation and more. 6.96 GB of packages in one repo.

Every model here has a matching, readable conversion script and — for most of them — a standalone SwiftUI sample app in the CoreML-Models repo.

This repo is also the backing store for the Models Zoo app on the App Store, which downloads and runs any of these models on device without writing code. models.json is that app's manifest — treat it as machine-owned.

Each model also has its own repo with a model card, a demo image and the unzipped .mlpackage — the Model column links there. The In this repo column is the zipped copy the app downloads.

Models

ModelTaskPackagesSizeLicenseUpstreamIn this repo
Face Parsingimage segmentation147 MBMITzllrunning/face-parsing.PyTorchzip
MobileSAMmask generation119 MBApache-2.0ChaoningZhang/MobileSAMzip
RMBG-1.4image segmentation137 MBBria RMBG-1.4 Licensebriaai/RMBG-1.4zip
DDColor Tinyimage to image1203 MBApache-2.0piddnad/DDColorzip
Pixelizationimage to image135 MBResearch use onlyWuZongWei6/Pixelizationzip
Real-ESRGAN 4ximage to image159 MBBSD-3-Clausexinntao/Real-ESRGANzip
SinSRimage to image3517 MBCC BY-NC-SA 4.0wyf0912/SinSRzip
RF-DETR Nanoobject detection195 MBApache-2.0roboflow/rf-detrzip
YOLO-Worldzero shot object detection2134 MBGPL-3.0AILab-CVC/YOLO-Worldzip
YOLO11sobject detection117 MBAGPL-3.0ultralytics/ultralyticszip
YOLO26sobject detection117 MBAGPL-3.0ultralytics/ultralyticszip
YOLOv10nobject detection14 MBAGPL-3.0THU-MIG/yolov10zip
Depth Anything 3 Base (504×504)depth estimation1173 MBApache-2.0ByteDance-Seed/Depth-Anything-3zip
Depth Anything 3 Small (504×504)depth estimation144 MBApache-2.0ByteDance-Seed/Depth-Anything-3zip
MoGe-2 ViT-B (504×504)depth estimation1184 MBMITmicrosoft/MoGezip
Florence-2image text to text3229 MBMITmicrosoft/Florence-2zip
SigLIPzero shot image classification2358 MBApache-2.0google-research/big_visionzip
3DDFA V2keypoint detection16 MBMITcleardusk/3DDFA_V2zip
Hyper-SD (1-Step)text to image4905 MBOpenRAIL-MByteDance/Hyper-SDzip
Nitro-E (4-Step)text to image3987 MBMIT (Nitro-E) + Llama 3.2 Community License (text encoder)amd/Nitro-Ezip
MatAnyoneimage segmentation583 MBS-Lab License 1.0pq-yang/MatAnyonezip
HTDemucsaudio to audio175 MBMITadefossez/demucszip
OpenVoice V2audio to audio258 MBMITmyshell-ai/OpenVoicezip
Pyannote Diarizationvoice activity detection15 MBMITpyannote/pyannote-audiozip
Kokoro-82Mtext to speech4724 MBApache-2.0hexgrad/Kokoro-82Mzip
Stable Audio Opentext to audio41.41 GBStability AI Community Licensestabilityai/stable-audio-open-smallzip
LaMaimage to image1187 MBApache-2.0advimman/lamazip
GFPGANimage to image1298 MBApache-2.0TencentARC/GFPGANzip
AdaFace IR-18face recognition142 MBMITmk-minchul/AdaFacezip
EfficientAD (MVTec bottle)anomaly detection114 MBMITopenvinotoolkit/anomalibzip
YOLOE-Szero shot object detection + segmentation3133 MBAGPL-3.0THU-MIG/yoloezip

† Downloadable here, but not yet selectable inside the Models Zoo app — the shipped app build has no UI template for them.

Also in the Models Zoo app (hosted in separate repos)

Download

Each model lives in its own directory and ships as a zipped .mlpackage.

hf download mlboydaisuke/coreml-zoo --include "moge2/*" --local-dir ./moge2
unzip './moge2/moge2/*.zip' -d ./moge2
# everything (large)
hf download mlboydaisuke/coreml-zoo --local-dir ./coreml-zoo

Use in Swift

import CoreML

let config = MLModelConfiguration()
config.computeUnits = .cpuAndNeuralEngine   // see each model's card

let compiled = try await MLModel.compileModel(at: mlpackageURL)
let model = try MLModel(contentsOf: compiled, configuration: config)

Two things that bite on real devices, both documented per model in docs/coreml_conversion_notes.md:

  1. Compute units are load-bearing. Several models are converted for a specific backend (FP32 + .cpuOnly where FP16 attention overflows, .cpuOnly where the iOS GPU hits the MPS singleton-slice bug). Switching them is not free.
  2. MLMultiArray.dataPointer is not contiguous on the Neural Engine. ANE pads rows for SIMD alignment — always read through array.strides.

Licenses

Licenses are per model and inherited from upstream. Several are non-commercial (MatAnyone: S-Lab 1.0, SinSR: CC BY-NC-SA 4.0, RMBG-1.4: Bria RMBG license, Pixelization: research use only) and the YOLO models are AGPL-3.0 / GPL-3.0. Check the table above and the upstream repo before shipping anything commercially.

Credits

Conversions by john-rocky (Daisuke Majima). Upstream authors are credited per model above.


More models in this format: Core ML Model Zoo — 46 models, each with the recipe that produced it.

Want a different model on-device? Open a request — free, open weights only; the export and its measured numbers get published publicly.

Contributors

mlboydaisuke

98 commits

Linked in READMEs

mlboydaisuke/coreml-zoo

Model

1

stars

98

commits

25

linked in READMEs

Aug 15, 2026

updated

apple
core-ml
coreml
coremltools
ios
macos
mlpackage
model-zoo
on-device
Browse cluster: On-device LLM deployment via CoreML

README

Core ML Models Zoo

31 PyTorch models converted to Core ML (.mlpackage) for on-device inference on iPhone, iPad and Mac — detection, segmentation, depth, matting, diffusion, TTS, source separation and more. 6.96 GB of packages in one repo.

Every model here has a matching, readable conversion script and — for most of them — a standalone SwiftUI sample app in the CoreML-Models repo.

This repo is also the backing store for the Models Zoo app on the App Store, which downloads and runs any of these models on device without writing code. models.json is that app's manifest — treat it as machine-owned.

Each model also has its own repo with a model card, a demo image and the unzipped .mlpackage — the Model column links there. The In this repo column is the zipped copy the app downloads.

Models

ModelTaskPackagesSizeLicenseUpstreamIn this repo
Face Parsingimage segmentation147 MBMITzllrunning/face-parsing.PyTorchzip
MobileSAMmask generation119 MBApache-2.0ChaoningZhang/MobileSAMzip
RMBG-1.4image segmentation137 MBBria RMBG-1.4 Licensebriaai/RMBG-1.4zip
DDColor Tinyimage to image1203 MBApache-2.0piddnad/DDColorzip
Pixelizationimage to image135 MBResearch use onlyWuZongWei6/Pixelizationzip
Real-ESRGAN 4ximage to image159 MBBSD-3-Clausexinntao/Real-ESRGANzip
SinSRimage to image3517 MBCC BY-NC-SA 4.0wyf0912/SinSRzip
RF-DETR Nanoobject detection195 MBApache-2.0roboflow/rf-detrzip
YOLO-Worldzero shot object detection2134 MBGPL-3.0AILab-CVC/YOLO-Worldzip
YOLO11sobject detection117 MBAGPL-3.0ultralytics/ultralyticszip
YOLO26sobject detection117 MBAGPL-3.0ultralytics/ultralyticszip
YOLOv10nobject detection14 MBAGPL-3.0THU-MIG/yolov10zip
Depth Anything 3 Base (504×504)depth estimation1173 MBApache-2.0ByteDance-Seed/Depth-Anything-3zip
Depth Anything 3 Small (504×504)depth estimation144 MBApache-2.0ByteDance-Seed/Depth-Anything-3zip
MoGe-2 ViT-B (504×504)depth estimation1184 MBMITmicrosoft/MoGezip
Florence-2image text to text3229 MBMITmicrosoft/Florence-2zip
SigLIPzero shot image classification2358 MBApache-2.0google-research/big_visionzip
3DDFA V2keypoint detection16 MBMITcleardusk/3DDFA_V2zip
Hyper-SD (1-Step)text to image4905 MBOpenRAIL-MByteDance/Hyper-SDzip
Nitro-E (4-Step)text to image3987 MBMIT (Nitro-E) + Llama 3.2 Community License (text encoder)amd/Nitro-Ezip
MatAnyoneimage segmentation583 MBS-Lab License 1.0pq-yang/MatAnyonezip
HTDemucsaudio to audio175 MBMITadefossez/demucszip
OpenVoice V2audio to audio258 MBMITmyshell-ai/OpenVoicezip
Pyannote Diarizationvoice activity detection15 MBMITpyannote/pyannote-audiozip
Kokoro-82Mtext to speech4724 MBApache-2.0hexgrad/Kokoro-82Mzip
Stable Audio Opentext to audio41.41 GBStability AI Community Licensestabilityai/stable-audio-open-smallzip
LaMaimage to image1187 MBApache-2.0advimman/lamazip
GFPGANimage to image1298 MBApache-2.0TencentARC/GFPGANzip
AdaFace IR-18face recognition142 MBMITmk-minchul/AdaFacezip
EfficientAD (MVTec bottle)anomaly detection114 MBMITopenvinotoolkit/anomalibzip
YOLOE-Szero shot object detection + segmentation3133 MBAGPL-3.0THU-MIG/yoloezip

† Downloadable here, but not yet selectable inside the Models Zoo app — the shipped app build has no UI template for them.

Also in the Models Zoo app (hosted in separate repos)

Download

Each model lives in its own directory and ships as a zipped .mlpackage.

hf download mlboydaisuke/coreml-zoo --include "moge2/*" --local-dir ./moge2
unzip './moge2/moge2/*.zip' -d ./moge2
# everything (large)
hf download mlboydaisuke/coreml-zoo --local-dir ./coreml-zoo

Use in Swift

import CoreML

let config = MLModelConfiguration()
config.computeUnits = .cpuAndNeuralEngine   // see each model's card

let compiled = try await MLModel.compileModel(at: mlpackageURL)
let model = try MLModel(contentsOf: compiled, configuration: config)

Two things that bite on real devices, both documented per model in docs/coreml_conversion_notes.md:

  1. Compute units are load-bearing. Several models are converted for a specific backend (FP32 + .cpuOnly where FP16 attention overflows, .cpuOnly where the iOS GPU hits the MPS singleton-slice bug). Switching them is not free.
  2. MLMultiArray.dataPointer is not contiguous on the Neural Engine. ANE pads rows for SIMD alignment — always read through array.strides.

Licenses

Licenses are per model and inherited from upstream. Several are non-commercial (MatAnyone: S-Lab 1.0, SinSR: CC BY-NC-SA 4.0, RMBG-1.4: Bria RMBG license, Pixelization: research use only) and the YOLO models are AGPL-3.0 / GPL-3.0. Check the table above and the upstream repo before shipping anything commercially.

Credits

Conversions by john-rocky (Daisuke Majima). Upstream authors are credited per model above.


More models in this format: Core ML Model Zoo — 46 models, each with the recipe that produced it.

Want a different model on-device? Open a request — free, open weights only; the export and its measured numbers get published publicly.

Linked in READMEs

Contributors

mlboydaisuke

98 commits