GitXplorerGitXplorer
a

coremltools

public
4523 stars
660 forks
369 issues

Commits

List of commits on branch main.
Verified
babbb03ded59a9170625fef665ffbaaabf03674b

Graph Pass: scaled_dot_product_attention_sliced_q (#2418)

jjirmasek committed 4 days ago
Verified
b919d0cacbb53a61d5b7fadfe1156e33ad046667

fix torch.linspace (#2416)

ttwoertwein committed 7 days ago
Verified
8dcc22be5ddd95931737b4073b6ebb1eaf505611

Support bool type for torch triu. (#2421)

ffukatani committed 8 days ago
Verified
4e0537884130ce4cd4b953194ee99a6e0afabd8f

factor out group norm implementation & support native_group_norm (#2425)

YYifanShenSZ committed 10 days ago
Verified
b077fbe941370dbcf4720ca052e04cbc11ee81fe

Pin peft dependency version (#2426)

TTobyRoseman committed 11 days ago
Verified
e72149ffb7cb6d29dd122330df641fbfe26c4dc9

Update docs and add examples for Compute Plan and In-memory model usage. (#2407)

ccymbalrush committed a month ago

README

The README file for this repository.

Build Status PyPI Release Python Versions

Core ML Tools logo

Use Core ML Tools (coremltools) to convert machine learning models from third-party libraries to the Core ML format. This Python package contains the supporting tools for converting models from training libraries such as the following:

With coremltools, you can:

  • Convert trained models to the Core ML format.
  • Read, write, and optimize Core ML models.
  • Verify conversion/creation (on macOS) by making predictions using Core ML.

After conversion, you can integrate the Core ML models with your app using Xcode.

Install Version 8.1

To install the latest non-beta version, run the following command in your terminal:

pip install -U coremltools

Core ML

Core ML is an Apple framework to integrate machine learning models into your app. Core ML provides a unified representation for all models. Your app uses Core ML APIs and user data to make predictions, and to fine-tune models, all on the user’s device. Core ML optimizes on-device performance by leveraging the CPU, GPU, and Neural Engine while minimizing its memory footprint and power consumption. Running a model strictly on the user’s device removes any need for a network connection, which helps keep the user’s data private and your app responsive.

Resources

To install coremltools, see Installing Core ML Tools. For more information, see the following: