C++ ML

Open-source C++ projects categorized as ML

Top 15 C++ ML Projects

  1. tensorflow

    An Open Source Machine Learning Framework for Everyone

    Project mention: The $100 ChatGPT: Why Karpathy's nanochat Represnts the Next Big Thing | dev.to | 2026-05-04

    TensorFlow: 2.1 million lines

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. MNN

    MNN: A blazing-fast, lightweight inference engine battle-tested by Alibaba, powering high-performance on-device LLMs and Edge AI.

    Project mention: MNN – fast, lightweight deep learning framework | news.ycombinator.com | 2026-01-21
  4. oneflow

    OneFlow is a deep learning framework designed to be user-friendly, scalable and efficient.

  5. deeplake

    Deeplake is AI Data Runtime for Agents. It provides serverless postgres with a multimodal datalake, enabling scalable retrieval and training.

  6. serving

    A flexible, high-performance serving system for machine learning models

    Project mention: PyTorch vs TensorFlow 2025: Which one wins after 72 hours? | dev.to | 2025-08-29

    TensorFlow Serving GitHub

  7. flashlight

    A C++ standalone library for machine learning (by flashlight)

  8. yggdrasil-decision-forests

    A library to train, evaluate, interpret, and productionize decision forest models such as Random Forest and Gradient Boosted Decision Trees.

  9. ecole

    Extensible Combinatorial Optimization Learning Environments

  10. translations

    The code, training pipeline, and models that power Firefox Translations

    Project mention: Firefox Forcing LLM Features | news.ycombinator.com | 2025-11-08

    NMT is a category containing both transformers and deep RNN. The Mozilla translation models are transformer LLM NMTs trained via Marian https://marian-nmt.github.io/ (ref: https://github.com/mozilla/translations/blob/main/docs/READM...)

  11. rb-libsvm

    Ruby language bindings for LIBSVM

  12. getml-community

    Fast, high-quality forecasts on relational and multivariate time-series data powered by new feature learning algorithms and automated ML.

  13. arduino-library

    This repository holds the Arduino Library for the EdX TinyML Specialization

  14. PyHook

    Python hook for ReShade processing (by dwojtasik)

  15. tinymind

    Tinymind is a Neural Network and Machine Learning project intended to provide a C++ template library for neural nets and machine learning algorithms within embedded systems. (by danmcleran)

  16. CuProphet

    Prophet built for CUDA and Speed

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ ML discussion

Log in or Post with

C++ ML related posts

  • Flux 2 Klein pure C inference

    7 projects | news.ycombinator.com | 18 Jan 2026
  • Basic Facts about GPUs

    3 projects | news.ycombinator.com | 24 Jun 2025
  • Why do tree-based models still outperform deep learning on tabular data? (2022)

    3 projects | news.ycombinator.com | 5 Mar 2024
  • MIT 6.5940: TinyML and Efficient Deep Learning Computing

    1 project | news.ycombinator.com | 28 Sep 2023
  • I was just wondering, with all the hype and latest advance in AI, is there something like AI embedded systems? Like deploying state-of-the-art AI models on embedded systems.

    1 project | /r/embedded | 14 May 2023
  • Show HN: Polymath: Convert any music-library into a sample-library with ML

    3 projects | news.ycombinator.com | 11 Feb 2023
  • OneFlow v0.9.0 Came Out!——A Distributed Deep Learning Framework

    1 project | /r/programming | 12 Feb 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source ML projects in C++? This list will help you:

# Project Stars
1 tensorflow 195,632
2 MNN 15,473
3 oneflow 9,399
4 deeplake 9,168
5 serving 6,351
6 flashlight 5,442
7 yggdrasil-decision-forests 659
8 ecole 368
9 translations 302
10 rb-libsvm 279
11 getml-community 242
12 arduino-library 58
13 PyHook 41
14 tinymind 12
15 CuProphet 9

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?