C++ ML

Open-source C++ projects categorized as ML

Top 18 C++ ML Projects

  1. tensorflow

    An Open Source Machine Learning Framework for Everyone

    Project mention: Ask HN: Why do maintainers spend time reviewing my code? | news.ycombinator.com | 2025-11-24

    Recently, I was working on various open source projects. Mostly I was working on issues labelled as "good first issues". Before I start working on a issue I usually take a look at the previous attempts made by other people. Usually I can find a couple of PRs or comments if the issue is older than one year. Looking at the work history usually it becomes obvious why previous attempts were not successful: someone completely misunderstood the task and went the wrong direction, someone can barely code, someone is just pinging the contributors instead of doing the actual work[1]. What was surprising to me was that the maintainers almost always found time to answer every question, review ridiculously bad and incorrect PRs and spend days communicating with the contributor (including me) to give feedback about the work, while they themselves could absolutely resolve the issue in less than an hour. To be honest I don't understand why someone with 10+ years of experience would spend time reviewing my "good first issue" PRs like they don't have anything else to do. I am trying to be useful and to learn but I don’t want to bother anyone or waste anyone’s time and that's why I am wondering why would maintainers spend their time reviewing my code? What is their motivation?

    [1] https://github.com/tensorflow/tensorflow/issues/22926#issuecomment-2888463504

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. MNN

    MNN is a blazing fast, lightweight deep learning framework, battle-tested by business-critical use cases in Alibaba. Full multimodal LLM Android App:[MNN-LLM-Android](./apps/Android/MnnLlmChat/README.md). MNN TaoAvatar Android - Local 3D Avatar Intelligence: apps/Android/Mnn3dAvatar/README.md

    Project mention: Alibaba mnn android app support DeepSeek R1 model | news.ycombinator.com | 2025-02-06
  4. oneflow

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

  5. deeplake

    Database for AI. Store Vectors, Images, Texts, Videos, etc. Use with LLMs/LangChain. Store, query, version, & visualize any AI data. Stream data in real-time to PyTorch/TensorFlow. https://activeloop.ai

    Project mention: What I Learned Comparing Zilliz Cloud and Deep Lake for Scalable Vector Search | dev.to | 2025-06-09

    As I scaled up a semantic search engine for multi-modal content, I found myself at a fork in the road. Should I lean into a purpose-built vector database like Zilliz Cloud, or embrace a more flexible data lake approach with Deep Lake? These tools promise vector search at scale—but they come from fundamentally different architectural philosophies.

  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. tt-metal

    :metal: TT-NN operator library, and TT-Metalium low level kernel programming model.

    Project mention: Obsidian Offering $500 Bounty for Notion | news.ycombinator.com | 2025-09-16

    There are a few more bounties like this out there.

    1. Tenstorrent https://github.com/tenstorrent/tt-metal/issues?q=is%3Aissue%... $200 - $3,000 bounties

    2. microG https://github.com/microg/GmsCore/issues/2994 $10,000 bounty

    3. Li Haoyi https://github.com/orgs/com-lihaoyi/discussions/6 multiple bounties (already mentioned upthread)

    4. Algora also hosts bounties for COSS (Commercial OSS) https://algora.io/bounties

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. react-native-fast-tflite

    🧬 High-performance TensorFlow Lite library for React Native with GPU acceleration

  11. yggdrasil-decision-forests

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

  12. liboai

    Discontinued A C++17 library to access the entire OpenAI API.

    Project mention: 5 APIs for Developers to Integrate In-App Content Creation Functionality | dev.to | 2025-12-22

    2. OpenAI API: Text and Language

  13. ecole

    Extensible Combinatorial Optimization Learning Environments

  14. rb-libsvm

    Ruby language bindings for LIBSVM

  15. getml-community

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

  16. 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...)

  17. arduino-library

    This repository holds the Arduino Library for the EdX TinyML Specialization

  18. PyHook

    Python hook for ReShade processing (by dwojtasik)

  19. 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)

  20. CuProphet

    Prophet built for CUDA and Speed

  21. SaaSHub

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

    SaaSHub logo
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

C++ ML related posts

  • 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
  • OneFlow v0.9.0 Came Out!

    1 project | /r/deeplearning | 12 Feb 2023
  • A note from our sponsor - Stream
    getstream.io | 24 Dec 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

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

# Project Stars
1 tensorflow 192,863
2 MNN 13,720
3 oneflow 9,377
4 deeplake 8,961
5 serving 6,337
6 flashlight 5,429
7 tt-metal 1,288
8 react-native-fast-tflite 1,068
9 yggdrasil-decision-forests 623
10 liboai 478
11 ecole 360
12 rb-libsvm 279
13 getml-community 231
14 translations 220
15 arduino-library 55
16 PyHook 39
17 tinymind 11
18 CuProphet 9

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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