qmetrics.net

fastai

PyTorch deep learning library with high-level APIs

fastai screenshot

fastai layers approachable training APIs on PyTorch for vision, text, tabular, and recommendation tasks. Install locally with pip or run notebooks in Colab with GPU runtime.

Overview

fastai packages common deep-learning workflows into high-level components while still exposing lower-level pieces researchers can mix. It targets practitioners who want short scripts for standard domains and tinkerers who need callbacks, data blocks, and custom training hooks.

Built on PyTorch, the library includes a typed dispatch system for tensors, a GPU-oriented vision stack extensible in Python, streamlined optimizers, a two-way callback system that can alter data or models during training, and a data block API for assembling datasets. Quick-start examples cover classifiers, segmentation, sentiment, recommendations, and tabular models with similar code shapes.

Training can run on your own hardware after installing PyTorch and fastai, or through hosted notebook environments when you enable GPU backends. Documentation ships as interactive notebooks, and migration notes explain how to combine or move from plain PyTorch and related trainers.

Official Docker images are published for containerized setups. On Windows, Jupyter users may see dataloader worker limits unless they run from scripts or use WSL with the Linux install path.

Key features

  • High-level PyTorch training APIs
  • Data block pipeline API
  • Two-way training callbacks
  • GPU computer vision utilities
  • Compact optimizer implementations
  • Tensor type dispatch system
  • Vision, NLP, and tabular presets
  • Notebook-first documentation

Use cases

  • Image classification prototypes
  • Text sentiment models
  • Tabular prediction experiments
  • Teaching deep learning courses
  • Research with customizable hooks

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0