Skip to main content

Optimum RBLN is the interface between the Hugging Face Transformers and Diffusers libraries and RBLN accelerators. It provides a set of tools enabling easy model loading and inference on single and multiple rbln device settings for different downstream tasks.

Project description

Optimum RBLN

🤗 Optimum RBLN is the interface between the 🤗 Transformers library and RBLN Accelerators including ATOM and REBEL. It provides a set of tools enabling easy model loading and inference on single- and multi-Accelerator settings for different downstream tasks. The list of officially validated models and tasks is available here. Users can try other models and tasks with only few changes.

Install from PyPI

To install the latest release of this package:

  • Export environment variables to access to RBLN private PyPI.

    export REBEL_PYPI_USERNAME=<username>
    export REBEL_PYPI_PASSWORD=<password>
    
  • Install optimum-rbln package:

    pip install --index-url https://pypi.rebellions.in/simple optimum-rbln
    

Install from source

Prerequisites

The below command installs optimum-rbln along with its dependencies.

git clone https://github.com/rebellions-sw/optimum-rbln.git
cd optimum-rbln
pdm install

To install optional dependencies from all groups, specify -G:all option.

pdm install -G:all

If you want to install optimum-rbln as editable mode in existing venv,

(venv) pip install -e .

How to use it?

Quick Start

🤗 Optimum RBLN was designed with one goal in mind: to make inference straightforward for any 🤗 Transformers user while leveraging the complete power of RBLN Accelerators.

Documentation

Check out the documentation of Optimum RBLN for more advanced usage.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

optimum_rbln-0.1.12-py3-none-any.whl (246.2 kB view details)

Uploaded Python 3

File details

Details for the file optimum_rbln-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: optimum_rbln-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 246.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for optimum_rbln-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 a094fa840d2d5e3ffe1c0f481223ec1ca1a6ed3dbf57c56f4db9bd63bf545f9d
MD5 97dd8d2c16c6be68fb5046de0d201c5d
BLAKE2b-256 b1a2c7252c7def182db9e05626f877f0c9dab58fcc205f8e86540b68f1598e8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page