Skip to main content

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 in habana_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.

Metadata

Release files for habana-tensorflow 1.14.0.493

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for habana-tensorflow 1.14.0.493
File Interpreter ABI Platform
habana_tensorflow-1.14.0.493-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details

Release files / habana_tensorflow-1.14.0.493-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL habana_tensorflow-1.14.0.493-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
546a4ad5c481ef1dd19bf1d6103a4e01a6203a72cd54b2b0feddf55d2207e614
BLAKE2b-256 checksum
How to use checksums
2e2acfddd5a892a042332bb8700915e60b00acf6e994dcadb1be7e28a40bc5dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page