This package contains Habana® TensorFlow bridge that allows to work with Habana® Gaudi®
Project description
Habana TensorFlow Python package
habana-tensorflow
is a package designed for easy integration of Gaudi bridge to Tensorflow topologies.
Main entry point (Python import) is habana_frameworks.tensorflow
module that contains all the necessary functions to work with Gaudi.
Structure
Properly built wheel contains:
habana_frameworks
python namespace (with all the folder structure inside)- libraries for all supported versions of TF (see
habana_frameworks.tensorflow.sysconfig._supported_tf_versions
) located inhabana_frameworks/tensorflow/tf<version_with_underscores>/lib/habanalabs/
- proper licensing
When loading habana_tensorflow
, there is sanity check for currently installed TF version in the system, to match libraries found in the module.
TensorFlow package (habana_frameworks.tensorflow)
Most important module inside is library_loader
and function load_habana_module()
, that is exposed directly after import.
It initializes the module properly.
Example:
import habana_frameworks.tensorflow as htf
htf.load_habana_module()
List of modules inside habana_frameworks.tensorflow
All modules are described in official docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for habana_tensorflow-1.11.0.587-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eee2b2df75dacb7c360d55a4ab6f1ec8c39570a03f950865f30f96531c6e8a5c |
|
MD5 | 1a19987fd99a2c98b0f17c318c3e750d |
|
BLAKE2b-256 | 44299f43db29b679b489933ed2b9283d5293438ebdd1803217ae07679c7fa2bc |
Hashes for habana_tensorflow-1.11.0.587-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6276660345f5dfe1bf1185499143fe4d5fe4ca0fcc7f551754c37c1daad6dd4 |
|
MD5 | 78c229aec551e9f8c75efd0fb056eb0f |
|
BLAKE2b-256 | 7976bd5afb109a639047c6c0150e39fab57232e20a686bf45aee737e39ac817d |