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.4rc5.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.4rc5.tar.gz.

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.4.4rc5.tar.gz
Algorithm Hash digest
SHA256 b83265573e58cbc2c380bb23d401ef8d1f5ca00f5cd060c8f3f896d213b7b7aa
MD5 68d5358f814d6f5d234a1dc64fc0f07c
BLAKE2b-256 909663dbba4f15c43ea7f78db75f93094a2e8247014aef591f535eaa879716b5

See more details on using hashes here.

File details

Details for the file backend_ai_accelerator_habana-26.4.4rc5-py3-none-any.whl.

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.4.4rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 d83af0ac63ed72167370ab602fbfd186e91b22a1fb2ae557875e421990cb3ec4
MD5 a34a998b0a6b3a81b02ba4525ed043d1
BLAKE2b-256 6d488561a2d13cb84db28cac0b8dc04ab03c7bdee2b4b6ab53a7a93c87263c2f

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