#7979th of 206 in ML frameworks and libraries

flux.jl

Pure-Julia machine learning library with layers, losses and pluggable autodiff

Stars
4.8k
License
custom license
Last commit
Nov 2026
Last release
Oct 2026
Language
Julia
Stars, last 29 weeks+56
22 Apr 2026: 4,699 stars29 Apr 2026: 4,699 stars6 May 2026: 4,702 stars13 May 2026: 4,705 stars20 May 2026: 4,708 stars27 May 2026: 4,708 stars3 Jun 2026: 4,710 stars10 Jun 2026: 4,711 stars17 Jun 2026: 4,712 stars24 Jun 2026: 4,712 stars1 Jul 2026: 4,713 stars8 Jul 2026: 4,715 stars15 Jul 2026: 4,717 stars22 Jul 2026: 4,721 stars29 Jul 2026: 4,723 stars5 Aug 2026: 4,725 stars12 Aug 2026: 4,728 stars19 Aug 2026: 4,731 stars26 Aug 2026: 4,734 stars2 Sept 2026: 4,736 stars9 Sept 2026: 4,738 stars16 Sept 2026: 4,741 stars23 Sept 2026: 4,744 stars30 Sept 2026: 4,746 stars7 Oct 2026: 4,748 stars14 Oct 2026: 4,750 stars21 Oct 2026: 4,753 stars28 Oct 2026: 4,754 stars4 Nov 2026: 4,755 stars11 Nov 2026: 4,755 stars

4,699 on 22 Apr 20264,755 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Flux is a machine learning library written entirely in Julia. It provides layers and losses for MLP, convolutional, recurrent and attention models, and trains with Zygote by default, or Enzyme or Mooncake. It runs on NVIDIA, AMD and Apple GPUs, can compile a training step through Reactant to XLA, and supports MPI and NCCL distributed training.

Who it is for: Julia users building and training neural networks, including researchers

Strengths

  • Models are plain Julia: any parameterised callable, such as a closure, works as a model
  • Selectable AD engine: Zygote default, Enzyme or Mooncake as alternatives
  • GPU support for NVIDIA, AMD and Apple through CUDA, AMDGPU or Metal packages
  • Reactant integration fuses the training step into one XLA program for CPU, GPU or TPU

Weaknesses

  • Requires Julia, so Python-based model code and tooling do not carry over
  • License is reported as NOASSERTION, so terms need manual checking
  • GPU use needs a separate backend package loaded alongside Flux
  • Model zoo and larger examples live in separate repos or folders, not the core package

What it needs

  • GPU optional
  • Needs Julia 1.10 or later
  • Models: MLP, convolutional, recurrent, attention

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in ML frameworks and libraries

See all 206
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.9k stars+1,573 (+0.9%) in 30 daysApache-2.094 out of 100
2ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,004 (+1.6%) in 30 daysAGPL-3.094 out of 100
3pytorchPython tensor library with GPU support and tape-based autograd105.5k stars+1,036 (+1.0%) in 30 dayscustom license93 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+107 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+521 (+1.0%) in 30 daysMIT92 out of 100