#8282nd of 105 in ML frameworks and libraries

apex

NVIDIA PyTorch utilities for mixed precision and distributed training

Stars
9k
License
BSD-3-Clause
Last commit
Sep 2026
Language
Python
Stars, last 29 weeks+103
1 Apr 2026: 8,901 stars8 Apr 2026: 8,906 stars15 Apr 2026: 8,912 stars22 Apr 2026: 8,918 stars29 Apr 2026: 8,922 stars6 May 2026: 8,925 stars13 May 2026: 8,928 stars20 May 2026: 8,936 stars27 May 2026: 8,939 stars3 Jun 2026: 8,943 stars10 Jun 2026: 8,945 stars17 Jun 2026: 8,948 stars24 Jun 2026: 8,952 stars1 Jul 2026: 8,953 stars8 Jul 2026: 8,956 stars15 Jul 2026: 8,963 stars22 Jul 2026: 8,969 stars29 Jul 2026: 8,972 stars5 Aug 2026: 8,975 stars12 Aug 2026: 8,978 stars19 Aug 2026: 8,979 stars26 Aug 2026: 8,983 stars2 Sept 2026: 8,989 stars9 Sept 2026: 8,990 stars16 Sept 2026: 8,991 stars23 Sept 2026: 8,996 stars30 Sept 2026: 8,998 stars7 Oct 2026: 9,000 stars14 Oct 2026: 9,002 stars21 Oct 2026: 9,004 stars

8,901 on 1 Apr 20269,004 on 21 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Apex is an NVIDIA-maintained PyTorch extension library with fused CUDA kernels and utilities for mixed precision and distributed training. It provides FusedAdam, FusedLayerNorm, FusedRMSNorm, SyncBatchNorm, DistributedDataParallel and amp, plus many optional apex.contrib modules. Some of the code is intended to land in upstream PyTorch eventually.

Who it is for: PyTorch engineers training models on NVIDIA GPUs who need fused kernels

Strengths

  • Fused CUDA kernels for Adam, LayerNorm, RMSNorm and SyncBatchNorm
  • Maintained by NVIDIA; extensions come preinstalled in NGC PyTorch containers
  • Python-only build available when CUDA extensions cannot be compiled
  • Many optional contrib modules, each enabled by its own build flag

Weaknesses

  • Source install compiles C++/CUDA extensions, which can be slow and memory-heavy
  • Contrib modules may only work with PyTorch nightlies, not stable releases
  • Python-only build drops fused kernels, so some components run slower
  • Windows support is experimental; no tagged release

What it needs

  • GPU required
  • Needs PyTorch, CUDA, Ninja (recommended), cuDNN >=8.4/8.5 (some modules), NCCL >=2.10/2.19 (some modules)

Also in ML frameworks and libraries

See all 105
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning105k starscustom license94 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.7k starsAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.092 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.3k starsMIT91 out of 100