概要
Run Kimi K3 (2.8 T parameters,1.56 TB) on iPhone 16 Pro? Weights stream from your SSD through a memory budget you set. Free, local, on Mac and iPhone.
AI・機械学習計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
Minirun
Run models larger than memory.
Weights stream from your SSD through a memory budget you set. Free, local, on Mac and iPhone.
English | 简体中文
Minirun is a native macOS and iOS app that runs open models whose weights are far larger than the device's memory. Instead of loading a model, it reads each layer — and only the experts the router picks — from an external NVMe SSD into a small, fixed set of buffers, hands them to MLX without copying, and releases them. The amount of memory in use is a number you choose before the run, and the runtime refuses a budget it cannot honor rather than exceeding it later.
- Bigger than memory. Kimi K3 (2.8 T parameters, 1.56 TB on disk) runs on an iPhone 16 Pro. DeepSeek V4 Flash (167 GB) holds a conversation on a Mac and on that phone.
- A memory budget you set. Floor, Balanced, Generous, or a number of your own. Minirun keeps resident what the budget pays for and streams the rest; the answer is byte-identical at every budget.
- Runs from your SSD. Add a folder on an external drive; Minirun finds the Minirun containers in it and streams their weights straight off it. Nothing is copied to the internal disk.
- Verified before it runs. Every file is digested against the published Hugging Face tree once; the runtime opens files only through descriptors from that verified set. Prompts, answers and telemetry never leave the device.
- Instruments. Decode rate, bytes read per token, footprint against the budget and the flow from storage, live while the model answers.
Models
Containers are byte-preserving repacks of the published checkpoints (no requantization), published at huggingface.co/nanguoyu and listed at minirun.dev/models. Speeds below are what the app shows on the reference devices — a MacBook Pro (M1 Pro, 32 GB) over a USB4 (40 Gb/s) enclosure, and an iPhone 16 Pro over its USB 3 port with a powered dock — and change with the drive, cable and budget. A model is listed as chat ready on a device only where a run on that device has been timed.
| Model | On disk | Mac (M1 Pro, 32 GB) | iPhone 16 Pro | Status |
|---|---|---|---|---|
| DeepSeek V4 Flash — 284 B MoE | 167 GB | ≈ 1.7 s / token, 10.7 GB budget; runs at 2 GB | ≈ 15 s / token, 3.8 GB budget; runs at 2 GB | Chat ready |
| Kimi K3 — 2.8 T MoE | 1.56 TB | ≈ 70 s / token, 8 GB budget | ≈ 220 s / token, 5.8 GB budget, 2-token replies | Chat ready |
| DeepSeek V4.1 Flash — 552 B multimodal MoE | 517 GB | ≈ 5 s / token, 14.9 GB budget; runs at 3.4 GB | ≈ 21 s / token, 1.9 GB budget | Chat ready |
| MiniMax H3 — audio & video generation | 64 GB | download, verify and store | download, verify and store | Container ready |
| Qwen3.8-27B | — | — | — | Coming soon |
What you need
- Mac: Apple silicon, macOS 15 or later.
- iPhone: iPhone 15 Pro or later (a USB 3 port), iOS 18 or later.
- An external NVMe SSD with room for the model — 2 TB for Kimi K3, 256 GB for DeepSeek V4 Flash. The enclosure and cable decide your speed more than the SSD does: use a USB4/Thunderbolt-rated cable, plug straight into the Mac, and on the iPhone hang the enclosure off a powered dock (the phone's port cannot power an NVMe enclosure by itself).

The whole setup: the phone, a USB4 NVMe enclosure and a powered dock. Kimi K3 lives on that drive.
Get Minirun
Mac. Download Minirun.dmg, drag Minirun to Applications, open it. The app is signed and notarized, and checks for updates itself (Sparkle).
iPhone. Install TestFlight from the App Store, then open the public link on the phone: testflight.apple.com/join/QuYTybjV. iPhone 15 Pro or later, iOS 18 or later. Builds expire after 90 days; TestFlight updates them.
Or build the iPhone app yourself with Xcode
Open
Apps/Minirun/Minirun.xcodeproj, select theMinirun-iOSscheme and your iPhone.In Signing & Capabilities pick your Apple Developer team and change the bundle identifier to one of your own (a free personal team works; the app then re-signs every seven days).
On the phone, enable Settings → Privacy & Security → Developer Mode, then press Run. Or from a terminal:
xcodebuild build -project Apps/Minirun/Minirun.xcodeproj \ -scheme Minirun-iOS -destination 'generic/platform=iOS' \ DEVELOPMENT_TEAM=YOUR_TEAM_ID \ PRODUCT_BUNDLE_IDENTIFIER=com.example.minirun \ -allowProvisioningUpdates
Quick start
- Add storage. Settings → Storage → Add a folder… and pick a folder on the external drive (on iPhone, through the Files app). Minirun assesses the drive and lists the containers it finds.
- Get a model. Settings → Models → Find Models shows the published containers; download one, or point at a copy you already have. Pick the folder — or the whole drive — you want it kept in: Minirun creates a folder named after the model inside it and shows you that path before it starts.
- Verify. Verify all files digests the container against its published tree. On iPhone this continues in the background and finishes with a notification.
- Chat. New chat, pick the model, pick a budget, send.
The full guide is at minirun.dev/docs.
Build and test from source
Requirements: an Apple-silicon Mac, macOS 15 or later, Xcode 26 or newer.
# Mac app, no signing team needed
xcodebuild build -project Apps/Minirun/Minirun.xcodeproj \
-scheme Minirun-macOS -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO
# iOS app for the Simulator (needs an iOS platform installed in Xcode)
xcodebuild build -project Apps/Minirun/Minirun.xcodeproj \
-scheme Minirun-iOS -destination 'generic/platform=iOS Simulator' CODE_SIGNING_ALLOWED=NO
# Tests: the app suite, then the package suites (use xcodebuild, not swift test)
xcodebuild test -project Apps/Minirun/Minirun.xcodeproj \
-scheme Minirun-macOS -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO
xcodebuild test -scheme minirun-Package -destination 'platform=macOS' \
-only-testing:MinirunKitTests -only-testing:MinirunRunnersTests
The Xcode project is generated from Apps/Minirun/project.yml; after editing
it, run xcodegen generate in Apps/Minirun
(XcodeGen).
Repository layout
| Path | What it is |
|---|---|
Apps/Minirun/ |
The SwiftUI app — one source tree for macOS and iOS |
Sources/MinirunKit/ |
Catalog, download, verification, storage lifecycle, memory planning, the runner protocol (no MLX) |
Sources/MinirunRunners/ |
Binds verified containers to the K3 and V4 runtimes |
Sources/ModelAdapters/ |
Model layouts, streaming caches and operators on MLX |
Sources/MLXBridge/ |
The thin boundary between storage and MLX |
Sources/StorageCore/ |
Bounded reads, containers, scheduling — Foundation and Darwin only |
Sources/BenchScenarios/ |
Reproducible decode scenarios used by the tests |
Tests/ |
Package tests; Apps/Minirun/Tests/ holds the app suite |
docs/ARCHITECTURE.md |
Dependency direction and the rules behind it |
Model weights are external artifacts governed by their own licenses; this repository grants no rights to any weights.
More from the author
Two other Mac apps by the same author, made the same way: on-device, private, yours.
|
On-device image AI toolkit for Mac. Convert, compress, crop, and watermark — plus AI generate, upscale, cut out, erase, anonymize, and face-restore, all running locally with no cloud uploads.
|
An elegant menu-bar reminder app for macOS with iCloud sync, quick actions, and a privacy-first design — your reminders stay in your own Apple account.
|
Contributing
Contributions are welcome under Apache-2.0. Every commit is signed off under the Developer Certificate of Origin 1.1; see CONTRIBUTING.md. Report security issues privately as described in SECURITY.md.
License and marks
Copyright (c) 2026 Dong Wang. Source code is licensed under the Apache License 2.0; see NOTICE and THIRD_PARTY_NOTICES.md. The license does not grant rights to the Minirun name and logo; see TRADEMARKS.md.
Website: minirun.dev, docs: minirun.dev/docs, contact: minirun.dev/contact
関連プロジェクトを探す
読み込み中…
