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

backend_ai_accelerator_habana-26.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.1.0.tar.gz
Algorithm Hash digest
SHA256 54550bff8e6be74d778f08f93af2f6e3403b7035e3453d3fc7bc15e98776e4f9
MD5 7cb710f3f5b0ffa19358252025595ac0
BLAKE2b-256 a430b8c4b8e67ec21e7de1c73f2b98aad34c0d41aff17ad965e8f055a4ea5918

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for backend_ai_accelerator_habana-26.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d792ac1fe8478fec5debd698ca5a63fca23d052fb59a8157fb9760ac7a3ace58
MD5 7550792d409d146c6fdbf94ed56023e2
BLAKE2b-256 2da6d601223ee006724a04c043a02ea39ff87f278fbf2604414ae6c1ea5d3ab6

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