On-device language model deployment formats compared
Runtime ownership, phone targets, quantization and portability
Mis à jour
Pourquoi comparer ceux-ci
A model download is only useful when the app runtime can load it. GGUF is broad and portable, while PTE, LiteRT-LM bundles, Core ML packages and compiled MLC artifacts are tied more closely to a deployment toolchain; ONNX sits between those approaches.
-
1
G
GGUF
A binary format designed for fast loading and extensibility, commonly used for quantized llama.cpp-compatible language models.
Single-file tensors and metadata for GGML runtimes
-
2
E
ExecuTorch PTE
A backend-specialized program produced from PyTorch export for the lightweight ExecuTorch runtime.
Ahead-of-time exported ExecuTorch program
-
3
L
LiteRT-LM bundle
The .litertlm packaging route carries converted and quantized LLM assets for LiteRT-LM APIs across supported platforms.
Packaged model for LiteRT-LM
-
4
O
ONNX / ORT format
ONNX Runtime Mobile accepts ONNX models and can convert them to the compact ORT format with a reduced operator build.
Portable graph with optional runtime optimization
-
5
C
Core ML ML Program
Core ML Tools converts models to ML Program packages that Xcode compiles for execution on Apple hardware.
Apple-native model package
-
6
M
MLC compiled package
MLC packages reusable quantized weights with compiled model and runtime libraries for Android or iOS applications.
Converted weights plus target-specific model library
Comparer côte à côte
| GGUF | ExecuTorch PTE | LiteRT-LM bundle | ONNX / ORT format | Core ML ML Program | MLC compiled package | |
|---|---|---|---|---|---|---|
| Runtime | ||||||
| Primary runtime | llama.cpp and GGML ecosystem | ExecuTorch | LiteRT-LM | ONNX Runtime Mobile / GenAI | Core ML | MLC LLM / TVM runtime |
| Targets | ||||||
| Phone targets | Android and iOS through compatible apps/runtimes | Android and iOS | Android; iOS supported by Swift path | Android and iOS | iOS and iPadOS | Android and iOS |
| Compression | ||||||
| Quantization role | Many integer and mixed quantizations encoded in file | Applied during export | Converted quantized model bundle | Quantized tensors and graph operators | Weight quantization and palettization supported | Weights converted with selected quantization |
| Packaging | ||||||
| Portability | High across GGUF-compatible runtimes | Backend-specialized PTE per target path | Cross-platform inside LiteRT-LM support | Broad; subject to operator support | Apple platforms only | Weights reusable; model library target-specific |
| Workflow | ||||||
| Compilation needed | No model compilation for the target | Yes, export and lower ahead of time | Import/conversion step | Export required; ORT optimization optional | Converted by coremltools; compiled by Xcode/device | Yes, package builds model libraries |
Références
- Official on-device model format specifications and documentation, the format and runtime maintainers (facts). Checked 2026-11-25 07:25 UTC.
- GGUF specification, ggml-org, checked 2026-11-25.
- Deploying LLMs to ExecuTorch, PyTorch, checked 2026-11-25.
- LiteRT-LM repository, Google AI Edge, checked 2026-11-25.
- Develop a mobile application with ONNX Runtime, Microsoft, checked 2026-11-25.
- Convert models to ML Programs, Apple, checked 2026-11-25.
- Package libraries and weights, MLC LLM, checked 2026-11-25.
