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.8.0.690-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8457cbc71df524140a41d84ecfcc30ac53e0a469c75418ed2efb1e1bc8003bed |
|
MD5 | b45f0fae8b1c680c62121d840c2cd997 |
|
BLAKE2b-256 | ff94451b5263750470f556c1516bcd10e4749d79dc8ae87d265a22a988118163 |
Hashes for habana_tensorflow-1.8.0.690-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea58671f33a93b95103f92dcf697aa91694f62c47d4bf74b2c1c9d224c76786c |
|
MD5 | 3e4602e47cf7f211ef83797c283f4541 |
|
BLAKE2b-256 | 484bc50fa7ce8d03930d58a85e1b4e3b61ea81f7dd859f5dcceb258a2f0a31eb |