Contents

optimum 2.1.0

0

Optimum Library is an extension of the Hugging Face Transformers library, providing a framework to i

Optimum Library is an extension of the Hugging Face Transformers library, providing a framework to integrate third-party libraries from Hardware Partners and interface with their specific functionality.

Stars: 3291, Watchers: 3291, Forks: 617, Open Issues: 268

The huggingface/optimum repo was created 4 years ago and the last code push was 1 weeks ago.
The project is very popular with an impressive 3291 github stars!

How to Install optimum

You can install optimum using pip

pip install optimum

or add it to a project with poetry

poetry add optimum

Package Details

Author
HuggingFace Inc. Special Ops Team
License
Apache
Homepage
https://github.com/huggingface/optimum
PyPi:
https://pypi.org/project/optimum/
GitHub Repo:
https://github.com/huggingface/optimum

Classifiers

  • Scientific/Engineering/Artificial Intelligence
No  optimum  pypi packages just yet.

Errors

A list of common optimum errors.

Code Examples

Here are some optimum code examples and snippets.

GitHub Issues

The optimum package has 268 open issues on GitHub

  • Support for LLaVA image-to-text task in OpenVINO export
  • Add T5Gemma2 model support
  • Fix issue with c4 dataset creation
  • Upgrade GitHub Actions for Node 24 compatibility
  • Avoid integer truncation in GPTQ perplexity tests
  • gemma3_text support in NormalizedConfig
  • Request for input shapes to be specified [OpenVINO]
  • Support qwen2_5_vl for ONNX export
  • Adding reference docs
  • Add import sys.exit to optimum_cli.py
  • OnnxRuntime Support for Text2Video and Img2Video Pipelines

See more issues on GitHub

Related Packages & Articles

pennylane 0.44.0

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.

farm-haystack 1.26.4.post0

LLM framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data.

onnx 1.20.1

Open Neural Network Exchange (ONNX) is an open ecosystem that empowers AI developers to choose the right tools as their project evolves. ONNX provides an open source format for AI models, both deep learning and traditional ML. It defines an extensible computation graph model, as well as definitions of built-in operators and standard data types. Currently we focus on the capabilities needed for inferencing (scoring).

deepspeed 0.18.6

DeepSpeed is a Python package developed by Microsoft that provides a deep learning optimization library designed to scale across multiple GPUs and servers. It is capable of training models with billions or even trillions of parameters, achieving excellent system throughput and efficiently scaling to thousands of GPUs.

DeepSpeed is particularly useful for training and inference of large language models, and it falls under the category of Machine Learning Frameworks and Libraries. It is designed to work with PyTorch and offers system innovations such as Zero Redundancy Optimizer (ZeRO), 3D parallelism, and model-parallelism to enable efficient training of large models.