EveryDev.ai
Subscribe
Home
Tools

6,925+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3677
  • Coding2778
  • Infrastructure1161
  • MCP995
  • Projects964
  • Research791
  • Analytics616
  • Design566
  • Marketing566
  • Testing515
  • Security472
  • Data468
  • Communication349
  • Integration326
  • Prompts318
  • Extensions273
  • Voice240
  • DevOps212
  • Commerce199
  • Web148
  • Learning146
  • Finance44
AI Tools by Topic
  • AI Coding Assistants
  • AI Code Review Tools
  • Agent Frameworks
  • AI Workflow Automation
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • Newsletter
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
  • Newsletter Archive
Get Started
  • Submit a Tool
  • Rate Tools
  • Start a Discussion
  • Write a Blog
  • Share a Build
  • Users
  • About
  • Contact Us
  • Advertise
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Search & AI
  • llms.txt
  • Add to favorites on Google
Theme
Terms of ServicePrivacy Policy
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. TorchAO
    TorchAO icon

    TorchAO

    AI Development Libraries

    PyTorch-native library for quantizing and sparsifying models for training and inference.

    Visit Website

    At a Glance

    Pricing
    Open Source

    TorchAO core library released under the BSD 3-Clause license (OSI-approved), free to use, modify and redistribute under license terms.

    Engagement

    Available On

    Windows
    macOS
    Linux
    iOS
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI Development LibrariesModel ManagementCompute Optimization

    Alternatives

    GPT-QModelLLM Compressortorchtune
    Developer
    PyTorch FoundationSan Francisco, CAEst. 2022

    Listed Oct 2026

    About TorchAO

    TorchAO is a PyTorch-native library for custom data types and optimizations, hosted under the pytorch GitHub organization. It quantizes and sparsifies weights, gradients, optimizers, and activations for both training and inference. The latest GitHub release listed is v0.18.0, published 2026-08-03.

    What It Is

    TorchAO is a Python library that adds quantization, quantization-aware training, float8 training, and sparsity to native PyTorch models. The README states it works out of the box with torch.compile() and FSDP2 across most Hugging Face PyTorch models. Users apply it by calling APIs such as quantize_ with a config object (for example an int4 weight-only config), or convert_to_float8_training for float8 training.

    Workflows: Training to Serving

    The documentation organizes the library into quantized training, quantization-aware training (QAT), and quantized inference. QAT uses a prepare step, a training step, and a convert step to reduce the accuracy loss from low-bit quantization. The project also provides memory-efficient optimizers (8-bit, 4-bit, and fp8 AdamW variants) and CPU offloading of optimizer state. The docs also cover PT2E quantization, static quantization, serialization, and writing custom quantized tensor subclasses.

    Integrations and Deployment

    The README lists integrations with Hugging Face Transformers, Diffusers, and PEFT, vLLM, SGLang, ExecuTorch for edge devices, TorchTitan, TorchTune, Axolotl, Unsloth, and MSLK kernels. Installation is via pip, with index options for nightly builds, CUDA 12.6 and 12.9, XPU, and CPU-only. The project reports benchmark figures such as 1.5x faster float8 pre-training of Llama-3.1-70B and 1.89x faster int4 inference for Llama-3-8B with 58% less memory.

    TorchAO - 1

    Collections

    Popular collections

    • Code Knowledge Graphs

      Collection by @evtuff

      Remix
    • Obsidian Agentic & AI plugins

      Collection by @samofcode

      Remix
    • Codebase Context Generators

      Collection by @joemseifi

      Remix
    • Frameworks

      Collection by @joemseifi

      Remix

    Add TorchAO to one of your collections.

    View all collections

    Community Discussions

    Be the first to start a conversation about TorchAO

    Share your experience with TorchAO, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    TorchAO core library released under the BSD 3-Clause license (OSI-approved), free to use, modify and redistribute under license terms.

    • BSD 3-Clause license (OSI-approved)
    • PyTorch-native quantization for training and inference
    • Quantization-aware training (QAT)
    • Float8 training and sparsity

    Capabilities

    Key Features

    • Int4, int8, and float8 weight and activation quantization
    • Quantization-aware training (QAT)
    • Float8 and MXFP8 quantized training
    • Quantized and CPU-offload memory-efficient optimizers
    • Semi-structured and block sparsity
    • Works with torch.compile and FSDP2
    • PT2E quantization workflows
    • Custom quantized tensor subclasses
    • Serving via vLLM, SGLang, and ExecuTorch

    Integrations

    Hugging Face Transformers
    Hugging Face Diffusers
    Hugging Face PEFT
    vLLM
    SGLang
    ExecuTorch
    TorchTitan
    TorchTune
    Axolotl
    Unsloth
    MSLK
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate TorchAO and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    PyTorch Foundation

    The PyTorch Foundation operates under the Linux Foundation to steward the PyTorch open-source deep learning framework. The foundation supports a global community of developers and researchers building machine learning applications. Member companies collaborate on training, events, tooling, and academic research to advance the PyTorch ecosystem.

    Founded 2022
    San Francisco, CA
    750 employees

    Used by

    Meta
    Amazon Web Services
    Microsoft Azure
    Google Cloud
    +2 more
    Read more about PyTorch Foundation
    WebsiteGitHubLinkedInX / Twitter
    5 tools in directory

    Similar Tools

    GPT-QModel icon

    GPT-QModel

    Open-source toolkit for quantizing, validating, and deploying LLMs with GPTQ, AWQ, GGUF, FP8, EXL3 and other methods across multiple hardware backends.

    LLM Compressor icon

    LLM Compressor

    Python library for quantizing and pruning large language models into compressed-tensors checkpoints for deployment with vLLM.

    torchtune icon

    torchtune

    A native-PyTorch library for authoring, post-training, and fine-tuning LLMs with hackable recipes and YAML configs.

    Browse all tools

    Related Topics

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    609 tools

    Model Management

    Tools for managing, versioning, and deploying AI models.

    155 tools

    Compute Optimization

    Tools for optimizing computational resources and performance.

    100 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    28views