whatisgithub

What is corenet?

apple/corenet — explained in plain English

Analysis updated 2026-06-24

7,003Jupyter NotebookAudience · researcherComplexity · 4/5Setup · hard

In one sentence

CoreNet is Apple's open-source Python library for training deep learning models, used internally for published research, covering image classification, segmentation, object detection, and large language models including OpenELM.

Mindmap

mindmap
  root((CoreNet))
    Model Types
      Image classification
      Segmentation
      Object detection
      Language models
    Key Projects
      OpenELM
      CatLIP
    Platforms
      Linux GPU
      Apple Silicon MLX
    Tech Stack
      Python
      PyTorch
      Jupyter Notebook
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Train a custom image segmentation or object detection model using Apple's production-grade research framework.

USE CASE 2

Download pre-trained OpenELM language model weights and run inference on an M-series Mac using MLX.

USE CASE 3

Reproduce results from Apple research papers using the included training configurations and Jupyter tutorials.

USE CASE 4

Fine-tune a vision-language model on a custom dataset using CoreNet's modular training architecture.

What is it built with?

PythonPyTorchJupyter NotebookMLX

How does it compare?

apple/corenetinfrasys-ai/aiinfrathreestudio-project/threestudio
Stars7,0037,0007,016
LanguageJupyter NotebookJupyter NotebookJupyter Notebook
Setup difficultyhardeasyhard
Complexity4/53/55/5
Audienceresearcherresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires Git LFS installed before cloning, Python 3.10+ on Linux, and a compatible GPU for most training tasks.

So what is it?

CoreNet is a Python library from Apple for training AI models, specifically the kind called deep neural networks. It is the internal toolkit Apple researchers use to build and experiment with models that can recognize objects in images, segment images into regions, detect objects, and work with large language models. Several published Apple research papers were produced using this library, and the repository includes the training configurations needed to reproduce those results. The library supports a wide range of model types, from lightweight models designed to run efficiently on phones to larger foundation models used in vision-language tasks. Pre-trained model weights for many of these are available alongside the code. Tutorials and Jupyter notebooks are included to help newcomers get started, covering tasks like training a new model from scratch and running semantic segmentation or object detection. One notable included project is OpenELM, a family of efficient language models trained and released with open weights. Another is CatLIP, which achieves competitive image-text recognition at faster training speeds. These are packaged as separate project directories within the repository, each with documentation and configuration files. For developers who use Apple Silicon hardware, the repository also includes examples that run CoreNet models via MLX, Apple's framework optimized for Mac chips. This makes it possible to run inference locally on a Mac without needing a data-center GPU. Installation requires Python 3.10 or higher on Linux, or Python 3.9 or higher on macOS, along with a recent version of the PyTorch library. The repository uses Git LFS to store large binary files like datasets and checkpoints, so that tool must be installed before cloning. The library is oriented toward researchers and engineers who want to train or fine-tune models rather than end users looking for a finished product.

Copy-paste prompts

Prompt 1
I want to train an image segmentation model using CoreNet, walk me through setup on a Mac with an M-series chip using MLX.
Prompt 2
How do I download and run inference with the OpenELM language model from CoreNet on my local machine?
Prompt 3
I want to reproduce an Apple research paper result using CoreNet, how do I find the right training config and run it?
Prompt 4
Set up CoreNet on Linux with PyTorch and Git LFS for training a vision model on my own dataset, what are the exact steps?

Frequently asked questions

What is corenet?

CoreNet is Apple's open-source Python library for training deep learning models, used internally for published research, covering image classification, segmentation, object detection, and large language models including OpenELM.

What language is corenet written in?

Mainly Jupyter Notebook. The stack also includes Python, PyTorch, Jupyter Notebook.

How hard is corenet to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is corenet for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.