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.2.5.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.2.5-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.2.5.tar.gz
Algorithm Hash digest
SHA256 5f914affee230572ca91bcfa072559b8c9b82cad317920dcaf5e5fce023d31f1
MD5 6cdd3fb4ecbc2ffe81d179f0e39894a4
BLAKE2b-256 ceef6a4ac575b141b2fad1a57c43b9caf1b046d6566c840041b3032ea54782f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8dc1094cf4570bf260b138098fd3ed1a843448b3086a5ca95eb1a1f8957a3c72
MD5 34668006b8cab3742db443520de4eb65
BLAKE2b-256 54e11da18f0a96af401106fd3930069bb7bafa66014536ef2d3253d28add42b2

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