huggingface/optimum

🚀 Accelerate inference and training of 🤗 Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 12 minutes ago
Added to GitGenius on September 19th, 2026
Created on July 20th, 2021
Open Issues & Pull Requests: 284 (+0)
GitHub issues: Enabled
Number of forks: 689
Total Stargazers: 3,495 (+0)
Total Subscribers: 59 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 109
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 761 days
Stale 30+ days: 105
Stale 90+ days: 103

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • Stale (131)
  • bug (98)
  • feature-request (52)
  • onnx (52)
  • onnxruntime (17)
  • bettertransformer (15)
  • quantization (8)
  • question (8)

Most active issues this week

Detailed Description

Optimum is a hardware optimization toolkit that accelerates inference and training of Transformers, Diffusers, TIMM, and Sentence Transformers models.

The tool addresses the challenge of deploying machine learning models efficiently on diverse hardware platforms. Rather than requiring users to learn platform-specific optimization techniques, Optimum provides a unified interface that abstracts away hardware complexity. It enables model optimization through quantization, graph compilation, and format conversion while maintaining compatibility with the original model APIs.

Optimum suits teams deploying models to specific accelerators or inference engines where performance matters. The project supports a broad range of hardware targets including ONNX Runtime, OpenVINO, NVIDIA TensorRT-LLM, AMD GPUs, AWS Trainum and Inferentia, Intel Gaudi accelerators, and FuriosaAI. This breadth means you can optimize once and target multiple platforms, or focus on a single accelerator without learning its low-level APIs. The tool integrates directly with popular model libraries, so optimization workflows feel natural to users already familiar with Transformers and related frameworks.

The project maintains active development across multiple optimization backends, with dedicated documentation and installation paths for each hardware target. Contributors regularly expand accelerator support and refine optimization techniques across different model architectures. The codebase shows sustained effort in keeping pace with both hardware evolution and advances in model optimization research.