Summary
A self-contained model format optimized for distribution and consumption outside the HF ecosystem.
Motivation
- iOS/iPadOS: Import models via USB stick, AirDrop, or Files app - no HF SDK required
- macOS Finder: Quick Look preview, contextual menu integration ("Model Info")
- Offline sharing: Hand a USB stick to someone, they can use it immediately
Proposed Workflow
# 1. Clone to workspace (existing)
mlxk clone Qwen/Qwen3-8B ./models/qwen3
# 2. Export as portable model (new)
mlxk export ./models/qwen3 --portable ./portable/Qwen3-8B.mlxmodel
Portable Model Properties
- Single directory (or
.mlxmodel bundle?)
- No symlinks, no
.refs/, no blob hashes
- Minimal metadata:
model.json with type, parameters, capabilities
- Weights as-is (safetensors)
- Optional: embedded icon, Quick Look generator
Open Questions
- Bundle format (
.mlxmodel directory vs flat folder)?
- Finder integration scope (Quick Look only? Services menu?)
- iOS consumption API (Swift package? Documentation only?)
Non-Goals (for now)
- No target release
- Not a replacement for HF cache or workspace models
- No streaming/partial download support
Relation to Other Features
- Builds on upcoming workspace-local model features (2.0.5+)
- Complements
mlxk clone / mlxk pull
- Could inform future
mlxk convert enhancements
Summary
A self-contained model format optimized for distribution and consumption outside the HF ecosystem.
Motivation
Proposed Workflow
Portable Model Properties
.mlxmodelbundle?).refs/, no blob hashesmodel.jsonwith type, parameters, capabilitiesOpen Questions
.mlxmodeldirectory vs flat folder)?Non-Goals (for now)
Relation to Other Features
mlxk clone/mlxk pullmlxk convertenhancements