• Cite Icon1011
  • https://doi.org/10.3390/info11020108Copy DOI Icon

Fastai: A Layered API for Deep Learning

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

fastai is a deep learning library which provides practitioners with high-level components that can quickly and easily provide state-of-the-art results in standard deep learning domains, and provides researchers with low-level components that can be mixed and matched to build new approaches. It aims to do both things without substantial compromises in ease of use, flexibility, or performance. This is possible thanks to a carefully layered architecture, which expresses common underlying patterns of many deep learning and data processing techniques in terms of decoupled abstractions. These abstractions can be expressed concisely and clearly by leveraging the dynamism of the underlying Python language and the flexibility of the PyTorch library. fastai includes: a new type dispatch system for Python along with a semantic type hierarchy for tensors; a GPU-optimized computer vision library which can be extended in pure Python; an optimizer which refactors out the common functionality of modern optimizers into two basic pieces, allowing optimization algorithms to be implemented in 4–5 lines of code; a novel 2-way callback system that can access any part of the data, model, or optimizer and change it at any point during training; a new data block API; and much more. We used this library to successfully create a complete deep learning course, which we were able to write more quickly than using previous approaches, and the code was more clear. The library is already in wide use in research, industry, and teaching.

Loading PDF

Similar Papers
  • Research Article
  • Citations3

Enhancing Differential Testing With LLMs For Testing Deep Learning Libraries

  • May 14, 2025
  • ACM Transactions on Software Engineering and Methodology
  • Meiziniu Li +5
  • Conference Article
  • Citations4

DEFIne

  • Feb 04, 2017
  • Nina Dethlefs +1
  • Conference Article
  • Citations1

BugsInDLLs : A Database of Reproducible Bugs in Deep Learning Libraries to Enable Systematic Evaluation of Testing Techniques

  • Jun 11, 2025
  • M M Abid Naziri +5
  • Conference Article
  • Citations322

A comprehensive study on deep learning bug characteristics

  • Aug 12, 2019
  • Md Johirul Islam +3
  • Research Article
  • Citations9

AnalogVNN: A fully modular framework for modeling and optimizing photonic neural networks

  • Jun 01, 2023
  • APL Machine Learning
  • Vivswan Shah +1
  • Research Article
  • Citations1

Evaluating API-Level Deep Learning Fuzzers: A Comprehensive Benchmarking Study

  • Jan 20, 2026
  • ACM Transactions on Software Engineering and Methodology
  • Nima Shiri Harzevili +4
  • Book Chapter
  • Citations30

Deep Reinforcement Learning

  • Aug 18, 2022
  • Yuxi Li
  • Book Chapter
  • Citations12

Deep Learning With PyTorch

  • Jan 01, 2020
  • Anmol Chaudhary +3
  • Research Article
  • Citations10

∇-Prox: Differentiable Proximal Algorithm Modeling for Large-Scale Optimization

  • Jul 26, 2023
  • ACM Transactions on Graphics
  • Zeqiang Lai +4
  • Conference Article
  • Citations124

Deep learning on mobile devices: a review

  • May 13, 2019
  • Yunbin Deng
  • Book Chapter
  • Citations52

Demand Forecasting in Supply Chain Management Using Different Deep Learning Methods

  • Aug 12, 2020
  • Asma Husna +2
  • PDF
  • Research Article
  • Citations2

A Survey on Different Algorithms Used in Deep Learning Process

  • Jan 01, 2023
  • E3S Web of Conferences
  • Kadarkarai Chelladurai +1
  • Book Chapter
  • Citations2861

Generative Adversarial Networks

  • Aug 18, 2022
  • Ian J Goodfellow +7
  • Book Chapter

Transformers

  • Aug 18, 2022
  • Iddo Drori
  • Book Chapter

Matrix Calculus

  • Aug 18, 2022
  • Iddo Drori
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.