Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Habana Gaudi (HPU) Support #574

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

BartoszBLL
Copy link

This pull request adds support for running inference on Habana Gaudi (HPU) processors by introducing a new directory dedicated to Gaudi-specific implementation. It includes setup instructions, scripts for downloading GPT-2 models, a Jupyter notebook for running inference, and necessary supporting files.

Changes Introduced

  • New directory: setup/05_accelerator_processors/01_habana_processing_unit/
  • Documentation:
    • README.md: Instructions for setting up and running GPT-2 inference on Habana Gaudi.
  • Notebook:
    • inference_on_gaudi.ipynb: Jupyter notebook demonstrating how to run inference on Gaudi, including performance comparisons against CPU.

Key Features

  • Provides setup instructions for installing necessary drivers and libraries.
  • Links to Habana documentation for further reading.
  • Implements inference workflow optimized for Habana Gaudi.
  • Includes performance monitoring tools for CPU vs. HPU comparisons.

Testing

  • Verified inference runs successfully on Gaudi HPU.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant