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.0.480-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd1fcc7ad600d4035236c4241752b6c08fc636e2c165e91ddc49efa39f7cae22 |
|
MD5 | c8fc250d4a9ec49ae3db0ab68b62b348 |
|
BLAKE2b-256 | 9c4d273707bb6ba2717413124aa3bc7f3a330546caf0af66d57b8b4ba47f9b98 |
Hashes for habana_tensorflow-1.12.0.480-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d5bf95838bf035dbc9bfc9e6b55e1fbc874cba5d995892c6b79ae76042e25e |
|
MD5 | 68d70d779588a2b0ffedd9a80ec37ab1 |
|
BLAKE2b-256 | d24107303bd5c41bd8c2eac5cf22f261bcfe60334a3ed8d0cba37d28801e1a56 |