coremltools
by
apple

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

View on GitHub ↗

Summary Information

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

Issue Activity (beta)

Open issues: 328
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 961 days
Stale 30+ days: 323
Stale 90+ days: 308

Recent activity

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

Top labels

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

Most active issues this week

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 135.2 days
90th percentile: 501.6 days
Tracked items: 347

Most active contributors

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.

GitGenius activity tracking reveals sustained engagement with the project across 347 tracked issues and pull requests. The median response latency of 0.0 hours indicates rapid triage and initial response times, though the mean of 3245.7 hours reflects longer resolution timelines for complex issues. Bug reports constitute the most active issue category with 173 tracked items, followed by general questions at 83 items and triaged issues at 61. The most active contributor, TobyRoseman, has driven 356 events in the tracked dataset, with YifanShenSZ and junpeiz contributing 117 and 81 events respectively, demonstrating consistent maintenance and development activity.

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.

coremltools
by
appleapple/coremltools

Repository Details

Fetching additional details & charts...