C++ machine learning libraries

76 libraries, 42 updated this year

C++ is where the fast cores live. OpenCV, XGBoost, LightGBM, CatBoost and SentencePiece are written in C++ and exposed to Python, R and other languages through bindings. dlib and mlpack are full machine learning libraries you can use directly from C++, and Kaldi and Vosk do speech recognition.

The section also holds the first generation of deep learning frameworks: Caffe, CNTK and Apache MXNet, all of which have stopped development. For running trained models in C++ today, look at ONNX runtimes and edge inference engines further down the list.

Many libraries here are listed under several languages; this page shows every one the README files under C++.

76 libraries

OpenCVopencv/opencv

OpenCV has C++, C, Python, Java and MATLAB interfaces and supports Windows, Linux, Android and Mac OS.

GeneralDeep learningVision
91.3k updated today

CaffeBVLC/caffe

A deep learning framework developed with cleanliness, readability, and speed in mind.

GeneralDeep learning
34.6k updated 2y ago

OpenposeCMU-Perceptual-Computing-Lab/openpose

A real-time multi-person keypoint detection library for body, face, hands, and foot estimation

Vision
34.5k updated 2y ago

XGBoostdmlc/xgboost

A parallelized optimized general purpose gradient boosting library.

General
28.9k updated 1d ago

Opikcomet-ml/opik

Open source engineering platform to debug, evaluate, and monitor your LLM applications, RAG systems, and agentic workflows with comprehensive tracing, automated evaluations, and production-ready dashboards. (Source Code)

GeneralLLMs
22.9k updated today

MXNetapache/incubator-mxnet Archived

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Go, JavaScript and more.

GeneralDeep learning
20.8k archived

LightGBMMicrosoft/LightGBM

Microsoft's fast, distributed, high performance gradient boosting (GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning tasks.

General
18.9k updated today

CNTKMicrosoft/CNTK Archived

The Computational Network Toolkit (CNTK) by Microsoft Research, is a unified deep-learning toolkit that describes neural networks as a series of computational steps via a directed graph.

GeneralDeep learning
17.6k archived

QuestDBquestdb/questdb

A relational column-oriented database designed for real-time analytics on time series and event data.

General
17.5k updated today

Kaldikaldi-asr/kaldi

Kaldi is a toolkit for speech recognition written in C++ and licensed under the Apache License v2.0. Kaldi is intended for use by speech recognition researchers.

Speech
15.5k updated 1y ago

Voskalphacep/vosk-api

An offline speech recognition toolkit with C++ support, designed for low-resource devices and multiple languages.

Deep learningSpeech
15.2k updated 9d ago

DLibdavisking/dlib

DLib has C++ and Python interfaces for face detection and training general object detectors.

GeneralDeep learningVisionData & viz
14.5k updated 3d ago

SentencePiecegoogle/sentencepiece

A C++ library for unsupervised text tokenization and detokenization, widely used in modern NLP models.

Deep learningNLP
12.2k updated 4d ago

PhoenixArize-ai/phoenix

Uncover insights, surface problems, monitor and fine tune your generative LLM, CV and tabular models.

GeneralLLMs
12k updated today

PyCaretpycaret/pycaret

An open-source, low-code machine learning library in Python that automates machine learning workflows.

GeneralMLOps
9.9k updated 3mo ago

CatBoostcatboost/catboost

General purpose gradient boosting on decision trees library with categorical features support out of the box. It is easy to install, contains fast inference implementation and supports CPU and GPU (even multi-GPU) computation.

General
9.2k updated today

Vowpal Wabbit (VW)VowpalWabbit/vowpal_wabbit

A fast out-of-core learning system.

GeneralRL
8.7k updated 9d ago

Speedsternebuly-ai/nebullvm

Automatically apply SOTA optimization techniques to achieve the maximum inference speed-up on your hardware.

GeneralDeep learningLLMs
8.3k updated 2y ago

Featuretoolsfeaturetools/featuretools

A library for automated feature engineering. It excels at transforming transactional and relational datasets into feature matrices for machine learning using reusable feature engineering "primitives".

GeneralMLOps
7.7k updated 1mo ago

Feastgojek/feast

A feature store for the management, discovery, and access of machine learning features. Feast provides a consistent view of feature data for both model training and model serving.

GeneralMLOps
7.3k updated 5d ago

mlpackmlpack/mlpack

A scalable C++ machine learning library.

GeneralDeep learning
5.7k updated 9d ago

DSSTNEamznlabs/amazon-dsstne Archived

A software library created by Amazon for training and deploying deep neural networks using GPUs which emphasizes speed and scale over experimental flexibility.

GeneralDeep learning
4.4k archived

oneDNNoneapi-src/oneDNN

An open-source cross-platform performance library for deep learning applications.

GeneralDeep learning
4.1k updated today

Warp-CTCbaidu-research/warp-ctc

A fast parallel implementation of Connectionist Temporal Classification (CTC), on both CPU and GPU.

General
4.1k updated 2y ago

Polyaxonpolyaxon/polyaxon

A platform for reproducible and scalable machine learning and deep learning.

GeneralDeep learningRL
3.7k updated 1d ago

DyNetclab/dynet

A dynamic neural network library working well with networks that have dynamic structures that change for every training instance. Written in C++ with bindings in Python.

GeneralDeep learning
3.4k updated 2y ago

ROOTroot-project/root

A modular scientific software framework. It provides all the functionalities needed to deal with big data processing, statistical analysis, visualization and storage.

GeneralData & viz
3.3k updated today

xLearnaksnzhy/xlearn

A high performance, easy-to-use, and scalable machine learning package, which can be used to solve large-scale machine learning problems. xLearn is especially useful for solving machine learning problems on large-scale sparse data, which is very common in Internet services such as online advertising and recommender systems.

GeneralData & viz
3.1k updated 3y ago

Shogunshogun-toolbox/shogun

The Shogun Machine Learning Toolbox.

General
3.1k updated 2y ago

Stanstan-dev/stan

A probabilistic programming language implementing full Bayesian statistical inference with Hamiltonian Monte Carlo sampling.

General
2.8k updated today

Agentic Context Enginekayba-ai/agentic-context-engine

In-context learning framework that allows agents to learn from execution feedback.

GeneralLLMs
2.6k updated 1mo ago

DeepDetectjolibrain/deepdetect

A machine learning API and server written in C++11. It makes state of the art machine learning easy to work with and integrate into existing applications.

GeneralDeep learningVision
2.6k updated today
P

PyCUDAinducer/pycuda

Python interface to CUDA

General
2.1k updated 13d ago

igraphigraph/igraph

General purpose graph library.

General
2k updated today

CosmoEdgecosmo-wander-ai/cosmo-edge

A C++ edge video AI engine for RTSP ingestion, CV/VLM inference, visual pipeline orchestration, alarms, and event delivery on Sophon and Rockchip NPUs.

Vision
2k updated 1d ago

nndeploynndeploy/nndeploy

An Easy-to-Use and High-Performance AI deployment framework.

GeneralDeep learningLLMs
1.9k updated 2mo ago

ThunderSVMXtra-Computing/thundersvm

A fast SVM library on GPUs and CPUs.

General
1.6k updated 2y ago

libfmsrendle/libfm

A generic approach that allows to mimic most factorization models by feature engineering.

General
1.5k updated 6y ago

Hopsworkslogicalclocks/hopsworks

A data-intensive platform for AI with the industry's first open-source feature store. The Hopsworks Feature Store provides both a feature warehouse for training and batch based on Apache Hive and a feature serving database, based on MySQL Cluster, for online applications.

GeneralMLOps
1.3k updated 1y ago

Trussbasetenlabs/truss

An open source framework for packaging and serving ML models.

GeneralMLOps
1.2k updated today

RLtoolsrl-tools/rl-tools

The fastest deep reinforcement learning library for continuous control, implemented header-only in pure, dependency-free C++ (Python bindings available as well).

Deep learningRL
1k updated 1d ago

grtnickgillian/grt

The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, C++ machine learning library designed for real-time gesture recognition.

Vision
894 updated 6y ago

MeTAmeta-toolkit/meta

MeTA : ModErn Text Analysis is a C++ Data Sciences Toolkit that facilitates mining big text data.

NLP
719 updated 3y ago

ThunderGBMXtra-Computing/thundergbm

A fast library for GBDTs and Random Forests on GPUs.

General
716 updated 1y ago

MLDBmldbai/mldb

The Machine Learning Database is a database designed for machine learning. Send it commands over a RESTful API to store data, explore it using SQL, then train machine learning models and expose them as APIs.

General
686 updated 1y ago

CRFsuitechokkan/crfsuite Deprecated

CRFsuite is an implementation of Conditional Random Fields (CRFs) for labeling sequential data.

NLP
674 updated 2y ago

Intel® oneAPI Data Analytics Libraryoneapi-src/oneDAL

A high performance software library developed by Intel and optimized for Intel's architectures. Library provides algorithmic building blocks for all stages of data analytics and allows to process data in batch, online and distributed modes.

GeneralData & viz
653 updated today
C

CRF++taku910/crfpp Deprecated

Open source implementation of Conditional Random Fields (CRFs) for segmenting/labeling sequential data & other Natural Language Processing tasks.

NLP
514 updated 1y ago

FidoFidoProject/Fido

A highly-modular C++ machine learning library for embedded electronics and robotics.

GeneralDeep learning
464 updated 6y ago
Esc

Type to search every entry. ↑↓ to move, Enter to open.