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.12.1.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c941a341a6bf5e417442a7b64ad271c7fb6a7543cef653b262d18ad5b2be822 |
|
MD5 | 6d0e6bc5027d1666853e769d4ac05e62 |
|
BLAKE2b-256 | 9bbc038c921d3a2ae8da49dd523136ca3794f15516157078c386c36389e3c563 |
Hashes for habana_tensorflow-1.12.1.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fe8fee1e458176b7256b7066c9eda53ba4ccaea032810d76ed7df8f192d45a2 |
|
MD5 | 5302d11c3f675431cd4c886414b2cc0a |
|
BLAKE2b-256 | 5e2bb779ea998038ef01f86dfa8a7b51d7c13d3147315e32d5b68ce233f80c45 |