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

Summary Information

Updated 39 minutes ago
Added to GitGenius on April 4th, 2024
Created on June 30th, 2017
Open Issues & Pull Requests: 495 (+0)
Number of forks: 835
Total Stargazers: 5,395 (+0)
Total Subscribers: 120 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 44.3 hours
Mean response time: 135.0 days
90th percentile: 403.6 days
Tracked items: 339

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "tf2.x / tf.keras" is answered fastest, typically in about 28 hours, while "missing layer type" waits about 7 days. Only 6% of issues opened in the past year have been closed. Three people close 69% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 324
New in 7 days: 4
Closed in 7 days: 3
Avg open age: 955 days
Stale 30+ days: 314
Stale 90+ days: 305

Recent activity

Opened in 7 days: 4
Closed in 7 days: 2
Comments in 7 days: 4
Events in 7 days: 4

Top labels

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

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.