Releases: schappim/coreml-cli
Releases · schappim/coreml-cli
v1.0.0
Core ML CLI v1.0.0
A native command-line interface for working with Apple Core ML models on macOS.
Features
- inspect - View model structure, inputs/outputs, and metadata
- predict - Run inference on images, text, or JSON data
- batch - Process multiple files with concurrent execution
- benchmark - Measure inference latency and throughput
- compile - Convert .mlmodel to optimized .mlmodelc format
- meta - View and manage model metadata
Requirements
- macOS 13.0 or later
- Apple Silicon or Intel Mac
Installation
Homebrew (recommended)
brew tap schappim/coreml-cli
brew install coreml-cliManual
Download coreml-1.0.0-macos.tar.gz, extract, and copy to your PATH:
tar -xzf coreml-1.0.0-macos.tar.gz
sudo cp coreml /usr/local/bin/Quick Start
coreml inspect MobileNetV2.mlmodel
coreml predict MobileNetV2.mlmodel --input photo.jpg
coreml benchmark MobileNetV2.mlmodel --input sample.jpg