#1414th of 15 in ML frameworks and libraries

fastai

High-level deep learning library on PyTorch for vision, text, tabular and recommenders

Stars
28.2k
License
Apache-2.0
Last commit
Sep 2026
Last release
Sep 2026
Language
Jupyter Notebook
Stars, last 29 weeks+457
24 Mar 2026: 27,769 stars31 Mar 2026: 27,789 stars7 Apr 2026: 27,808 stars14 Apr 2026: 27,835 stars21 Apr 2026: 27,849 stars28 Apr 2026: 27,856 stars5 May 2026: 27,868 stars12 May 2026: 27,883 stars19 May 2026: 27,894 stars26 May 2026: 27,905 stars2 Jun 2026: 27,913 stars9 Jun 2026: 27,926 stars16 Jun 2026: 27,942 stars23 Jun 2026: 27,953 stars30 Jun 2026: 27,965 stars7 Jul 2026: 27,989 stars14 Jul 2026: 28,002 stars21 Jul 2026: 28,010 stars28 Jul 2026: 28,030 stars4 Aug 2026: 28,051 stars11 Aug 2026: 28,060 stars18 Aug 2026: 28,071 stars25 Aug 2026: 28,088 stars1 Sept 2026: 28,096 stars8 Sept 2026: 28,106 stars15 Sept 2026: 28,112 stars22 Sept 2026: 28,173 stars29 Sept 2026: 28,194 stars6 Oct 2026: 28,204 stars13 Oct 2026: 28,226 stars

27,769 on 24 Mar 202628,226 on 13 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

fastai is a Python deep learning library built on PyTorch. It offers high-level APIs that train image classifiers, segmentation, text sentiment, tabular and recommendation models in about 5 lines, on top of layered lower-level components for researchers. Core pieces include a data block API, a two-way callback system and an optimizer refactored into small composable parts.

Who it is for: Python practitioners and researchers training deep learning models with PyTorch

Strengths

  • Layered API: 5-line high-level training down to low-level building blocks
  • Two-way callbacks can modify data, model or optimizer at any point in training
  • Docs are runnable notebooks, with a free course and a book
  • Migration guides for plain PyTorch, Ignite, Lightning and Catalyst

Weaknesses

  • Jupyter on Windows forces num_workers to 0, making vision training much slower
  • Covers classic deep learning domains; README does not mention LLM or diffusion workflows
  • README advises installing PyTorch separately before fastai
  • GPU memory and RAM requirements are not stated

What it needs

  • GPU optional
  • Compose
  • Needs PyTorch, fastcore
  • Models: PyTorch

Also in ML frameworks and libraries

See all 15
Also in ML frameworks and libraries
RankProjectScore
1transformersModel-definition library for text, vision, audio and multimodal models167.7k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning104.9k starscustom license92 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.5k starsAGPL-3.086 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.082 out of 100
#5tensorflowTensor and neural network framework with Python and C++ APIs201k starsApache-2.080 out of 100