Skip To Main Content
Intel logo - Return to the home page
My Tools

Select Your Language

  • Bahasa Indonesia
  • Deutsch
  • English
  • Español
  • Français
  • Português
  • Tiếng Việt
  • ไทย
  • 한국어
  • 日本語
  • 简体中文
  • 繁體中文
Sign In to access restricted content

Using Intel.com Search

You can easily search the entire Intel.com site in several ways.

  • Brand Name: Core i9
  • Document Number: 123456
  • Code Name: Emerald Rapids
  • Special Operators: “Ice Lake”, Ice AND Lake, Ice OR Lake, Ice*

Quick Links

You can also try the quick links below to see results for most popular searches.

  • Product Information
  • Support
  • Drivers & Software

Recent Searches

Sign In to access restricted content

Advanced Search

Only search in

Sign in to access restricted content.

The browser version you are using is not recommended for this site.
Please consider upgrading to the latest version of your browser by clicking one of the following links.

  • Safari
  • Chrome
  • Edge
  • Firefox



Using Hugging Face*

 

 

 

 

  • Overview
  • Catalog
  • Performance Data
  • Hugging Face*
  • Model Optimization and Debugging
  • Model Reference

Overview

Hugging Face* is an open source repository of Transformer and Diffuser-based models and datasets for generative AI (GenAI) and LLMs. The repository sorts training (such as DeepSpeed) and inference into tasks.

Intel collaborated with Hugging Face to create the Optimum for Intel® Gaudi® AI accelerators to allow Hugging Face models to run on Intel Gaudi AI accelerators. The library replaces generic Hugging Face code with Intel Gaudi accelerator configurations and is preconfigured for use on many popular training and inference tasks. Tasks and model examples in the library are fully validated and documented, making it easier to start training and inference.

Watch the video to get started using Hugging Face on Intel Gaudi accelerators.

Install Hugging Face Models​​​

To install Optimum for Intel® Gaudi® and run examples:

  1. Get access to an Intel® Gaudi® accelerator node.
  2. Using Intel® Gaudi® software v1.21.0,† run the Docker* image for PyTorch*. ​
  3. Install the Optimum for Intel® Gaudi® library​: ​
pip install optimum-habana==1.16.0

Install the Examples repository​​:

cd ~
git clone -b v1.16.0 https://github.com/huggingface/optimum-habana

Select Hugging Face Tasks from the following location, and then follow the README directions included in the examples:​​

cd ~/optimum-Habana/examples​

The installation is the most recent version of the optimum-habana library from Python* Package Index (PyPI) and checking out the same tag in GitHub for the optimum-habana model examples.​

To use the latest working version, install the optimum-habana library from source:

pip install git+https://github.com/huggingface/optimum-habana.git

Use the main branch from Github for all model examples.​

†If you are unsure what version of Intel® Gaudi® software you are running, see Software Verification and Support Matrix.

Additional Resources

Hugging Face Models

Hugging Face Documentation

Run Llama 2 70B on Intel® Gaudi®2 AI Accelerator Tutorial


  • Company Overview
  • Contact Intel
  • Newsroom
  • Investors
  • Careers
  • Corporate Responsibility
  • Inclusion
  • Public Policy
  • © Intel Corporation
  • Terms of Use
  • *Trademarks
  • Cookies
  • Privacy
  • Supply Chain Transparency
  • Site Map
  • Recycling
  • Your Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon
  • Notice at Collection

Intel technologies may require enabled hardware, software or service activation. // No product or component can be absolutely secure. // Your costs and results may vary. // Performance varies by use, configuration, and other factors. Learn more at intel.com/performanceindex. // See our complete legal Notices and Disclaimers. // Intel is committed to respecting human rights and avoiding causing or contributing to adverse impacts on human rights. See Intel’s Global Human Rights Principles. Intel’s products and software are intended only to be used in applications that do not cause or contribute to adverse impacts on human rights.

Intel Footer Logo