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.6.0.439-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de37b394cdf9966a075300647aba51032dd3ea45471701c7411ccb0b4954d715 |
|
MD5 | 515701981e955e93880be34742d6f7ac |
|
BLAKE2b-256 | cb8b94eae0c93f9225b209f5c31d82ea56ad64ee7616321f0c6f9922e5b94138 |
Hashes for habana_tensorflow-1.6.0.439-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b395ce272899c717a3af52cc8cc120dc7ec44e98c5c236c2c3a2a9a6fca27d8 |
|
MD5 | 1e6de7472d474e1235fc25c79e66dd16 |
|
BLAKE2b-256 | 4d02debcf14fdad9f2ac6b3fa9e6f9f5f4a9a9d34d23683054fba545af5987cd |