apple/coremltools

Core ML tools contain supporting tools for Core ML model conversion, editing, and validation.

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 50 minutes ago
Added to GitGenius on April 4th, 2024
Created on June 30th, 2017
Open Issues & Pull Requests: 526 (+0)
GitHub issues: Enabled
Number of forks: 859
Total Stargazers: 5,436 (+0)
Total Subscribers: 121 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 44.0 hours
Mean response time: 135.2 days
90th percentile: 403.6 days
Tracked items: 349

How this project is maintained

About 11% of issues opened in the past year have never received a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 56% of issues opened in the past year have been closed. Three people close 70% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 324
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 945 days
Stale 30+ days: 316
Stale 90+ days: 306

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • bug (514)
  • question (285)
  • PyTorch (traced) (182)
  • triaged (171)
  • feature request (100)
  • awaiting response (77)
  • tf2.x / tf.keras (71)
  • missing layer type (65)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Core ML Tools is a Python package developed by Apple that enables conversion of machine learning models from popular training frameworks into Apple's Core ML format for on-device deployment. The repository serves as the central tooling ecosystem for model conversion, editing, and validation, supporting a wide range of source frameworks including TensorFlow 1.x, TensorFlow 2.x, PyTorch, scikit-learn, XGBoost, and LibSVM. This broad framework support makes coremltools essential for developers seeking to deploy models across Apple's ecosystem without being locked into a single training library.

The primary functionality centers on three core capabilities: converting trained models to Core ML format, reading and writing Core ML models with optimization support, and verifying conversions through on-device prediction testing on macOS. Once models are converted, developers can integrate them directly into iOS and macOS applications using Xcode. Core ML itself provides the runtime layer, optimizing inference by leveraging the CPU, GPU, and Neural Engine while minimizing memory footprint and power consumption. The on-device execution model ensures user data privacy and application responsiveness by eliminating network dependencies.

The repository's classification spans multiple technical domains including neural network quantization, model compilation, framework interoperability, and iOS deployment optimization. Cross-repository contributor analysis links coremltools to major projects including microsoft/vscode, microsoft/typescript, and rust-lang/rust, suggesting involvement from developers working across diverse technology stacks. The Python-based implementation makes the tooling accessible to data scientists and machine learning engineers already familiar with the Python ecosystem, while the comprehensive documentation including guides, API references, and the Core ML specification supports both conversion workflows and deeper technical understanding.

Installation is straightforward through PyPI, making coremltools readily available to developers at any stage of their machine learning deployment pipeline. The project maintains active release cycles with documented release notes, and provides clear contribution guidelines for community participation. By abstracting away the complexity of converting between different model formats and frameworks, coremltools significantly reduces friction in deploying machine learning models to Apple platforms while maintaining the performance and privacy benefits of on-device inference.