Skip to main content

Backend.AI Accelerator Plugin for Intel® Gaudi® HPUs

Project description

Backend.AI Accelerator Plugin for Habana

Just install this along with Backend.AI agents, using the same virtual environment. This will allow the agents to detect Habana devices on their hosts and make them available to Backend.AI kernel sessions.

$ pip install -e <Path to this repository>

This open-source edition of Habana plugins support allocation of one or more Habana devices to a container, slot-by-slot.

Compatibility Matrix

TBD

Generating Docker macvlan interfaces for inter-container network

#! /bin/bash
set -e
for pci_bus_id in $(hl-smi --format=csv,noheader -Q bus_id); do
    for net_dev in $(grep PCI_SLOT_NAME /sys/class/net/*/device/uevent | grep "${pci_bus_id}" | awk -F: '{print $1}' | awk -F/ '{print $5}'); do
        docker network create --attachable -o parent="${net_dev}" -d macvlan "gaudi_${net_dev}" >/dev/null
        echo "Docker network gaudi_${net_dev} created"
    done
done

Project details


Download files

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

Source Distribution

backend_ai_accelerator_habana-26.3.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

backend_ai_accelerator_habana-26.3.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file backend_ai_accelerator_habana-26.3.1.tar.gz.

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.3.1.tar.gz
Algorithm Hash digest
SHA256 6b39610537b2a229c02697d6585944945c7588be601bad7ec2440126e53592dc
MD5 ad2c4ab9934ed1a7972938db38aa8bf2
BLAKE2b-256 39aa4500ecc78115dac9206182226b9b033304a4923441b7107000fd82ba5e1f

See more details on using hashes here.

File details

Details for the file backend_ai_accelerator_habana-26.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8228afafc2b5a654243febc8dba0ce1f78bcc78076915f9620dc1e6a620ecb01
MD5 a4e53a30174f348f1f1f5a6352b60cd5
BLAKE2b-256 7cb9cbdc044e33a2e76e122f1cd3044ece6bb15691882f4dc662156a4daa003b

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