tfx_bsl (TFX Basic Shared Libraries) contains libraries shared by many TFX (TensorFlow eXtended) libraries and components.
Maintained. Last release 6 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install tfx-bslTFX Basic Shared Libraries
TFX Basic Shared Libraries (tfx_bsl) contains libraries shared by many
TensorFlow eXtended (TFX) components.
Only symbols exported by sub-modules under tfx_bsl/public are intended for
direct use by TFX users, including by standalone TFX library (e.g. TFDV, TFMA,
TFT) users, TFX pipeline authors and TFX component authors. Those APIs will
become stable and follow semantic versioning once tfx_bsl goes beyond 1.0.
APIs under other directories should be considered internal to TFX (and therefore there is no backward or forward compatibility guarantee for them).
Each minor version of a TFX library or TFX itself, if it needs to
depend on tfx_bsl, will depend on a specific minor version of it (e.g.
tensorflow_data_validation 0.14.* will depend on, and only work with,
tfx_bsl 0.14.*)
Installing from PyPI
tfx_bsl is available as a PyPI package.
pip install tfx-bsl
Nightly Packages
TFX-BSL also hosts nightly packages at https://pypi-nightly.tensorflow.org on Google Cloud. To install the latest nightly package, please use the following command:
pip install --extra-index-url https://pypi-nightly.tensorflow.org/simple tfx-bsl
This will install the nightly packages for the major dependencies of TFX-BSL such as TensorFlow Metadata (TFMD).
However it is a dependency of many TFX components and usually as a user you don't need to install it directly.
Build from source
1. Prerequisites
Install NumPy
If NumPy is not installed on your system, install it now by following these directions.
Install Bazel
If Bazel is not installed on your system, install it now by following these directions.