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.4.0.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.

File details

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

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.4.0.tar.gz
Algorithm Hash digest
SHA256 62edc8608533f73d4d2211973b496b81d32750fb3018ea473a37e96338a2731b
MD5 517fc1b7e8d9d9711e0680cbe8ce8416
BLAKE2b-256 55ba51a4a7aff3cbeebff477c4b840620859c006261ba2560f9bd44caa031717

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 954b6e24c2d38c4f6cc59d48babefb648126c09153da7e9937e87f4352bb7dc3
MD5 73f14a8f838352dc8d914ce1b0888f2c
BLAKE2b-256 191fcb898aeed8d9dc574177938c8854ca4d7f0ad60923c4d259487c2c240f8e

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