tfx_bsl (TFX Basic Shared Libraries) contains libraries shared by many TFX (TensorFlow eXtended) libraries and components.
Project description
TFX 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 with Docker
If you want to build a TFX component from the master branch, past the latest
release, you may also have to build the latest tfx_bsl
, as that TFX component
might have depended on new features introduced past the latest tfx_bsl
release.
Building from Docker is the recommended way to build tfx_bsl
under Linux,
and is continuously tested at Google.
1. Install Docker
Please first install docker
and
docker-compose
by following the
directions.
2. Clone the tfx_bsl
repository
git clone https://github.com/tensorflow/tfx-bsl
cd tfx-bsl
Note that these instructions will install the latest master branch of tfx-bsl
.
If you want to install a specific branch (such as a release branch), pass
-b <branchname>
to the git clone
command.
3. Build the pip package
Then, run the following at the project root:
sudo docker-compose build manylinux2010
sudo docker-compose run -e PYTHON_VERSION=${PYTHON_VERSION} manylinux2010
where PYTHON_VERSION
is one of {39}
.
A wheel will be produced under dist/
.
4. Install the pip package
pip install dist/*.whl
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.
2. Clone the tfx_bsl
repository
git clone https://github.com/tensorflow/tfx-bsl
cd tfx-bsl
Note that these instructions will install the latest master branch of tfx_bsl
If you want to install a specific branch (such as a release branch),
pass -b <branchname>
to the git clone
command.
3. Build the pip package
tfx_bsl
wheel is Python version dependent -- to build the pip package that
works for a specific Python version, use that Python binary to run:
python setup.py bdist_wheel
You can find the generated .whl
file in the dist
subdirectory.
4. Install the pip package
pip install dist/*.whl
Supported platforms
tfx_bsl
is tested on the following 64-bit operating systems:
- macOS 10.12.6 (Sierra) or later.
- Ubuntu 20.04 or later.
Compatible versions
The following table is the tfx_bsl
package versions that are compatible with
each other. This is determined by our testing framework, but other untested
combinations may also work.
tfx-bsl | apache-beam[gcp] | pyarrow | tensorflow | tensorflow-metadata | tensorflow-serving-api |
---|---|---|---|---|---|
GitHub master | 2.59.0 | 10.0.1 | nightly (2.x) | 1.16.0 | 2.16.1 |
1.16.0 | 2.59.0 | 10.0.1 | 2.16 | 1.16.0 | 2.16.1 |
1.15.1 | 2.47.0 | 10.0.0 | 2.15 | 1.15.0 | 2.15.1 |
1.15.0 | 2.47.0 | 10.0.0 | 2.15 | 1.15.0 | 2.15.1 |
1.14.0 | 2.47.0 | 10.0.0 | 2.13 | 1.14.0 | 2.13.0 |
1.13.0 | 2.40.0 | 6.0.0 | 2.12 | 1.13.1 | 2.9.0 |
1.12.0 | 2.40.0 | 6.0.0 | 2.11 | 1.12.0 | 2.9.0 |
1.11.0 | 2.40.0 | 6.0.0 | 1.15 / 2.10 | 1.11.0 | 2.9.0 |
1.10.0 | 2.40.0 | 6.0.0 | 1.15 / 2.9 | 1.10.0 | 2.9.0 |
1.9.0 | 2.38.0 | 5.0.0 | 1.15 / 2.9 | 1.9.0 | 2.9.0 |
1.8.0 | 2.38.0 | 5.0.0 | 1.15 / 2.8 | 1.8.0 | 2.8.0 |
1.7.0 | 2.36.0 | 5.0.0 | 1.15 / 2.8 | 1.7.0 | 2.8.0 |
1.6.0 | 2.35.0 | 5.0.0 | 1.15 / 2.7 | 1.6.0 | 2.7.0 |
1.5.0 | 2.34.0 | 5.0.0 | 1.15 / 2.7 | 1.5.0 | 2.7.0 |
1.4.0 | 2.31.0 | 5.0.0 | 1.15 / 2.6 | 1.4.0 | 2.6.0 |
1.3.0 | 2.31.0 | 2.0.0 | 1.15 / 2.6 | 1.2.0 | 2.6.0 |
1.2.0 | 2.31.0 | 2.0.0 | 1.15 / 2.5 | 1.2.0 | 2.5.1 |
1.1.0 | 2.29.0 | 2.0.0 | 1.15 / 2.5 | 1.1.0 | 2.5.1 |
1.0.0 | 2.29.0 | 2.0.0 | 1.15 / 2.5 | 1.0.0 | 2.5.1 |
0.30.0 | 2.28.0 | 2.0.0 | 1.15 / 2.4 | 0.30.0 | 2.4.0 |
0.29.0 | 2.28.0 | 2.0.0 | 1.15 / 2.4 | 0.29.0 | 2.4.0 |
0.28.0 | 2.28.0 | 2.0.0 | 1.15 / 2.4 | 0.28.0 | 2.4.0 |
0.27.1 | 2.27.0 | 2.0.0 | 1.15 / 2.4 | 0.27.0 | 2.4.0 |
0.27.0 | 2.27.0 | 2.0.0 | 1.15 / 2.4 | 0.27.0 | 2.4.0 |
0.26.1 | 2.25.0 | 0.17.0 | 1.15 / 2.3 | 0.27.0 | 2.3.0 |
0.26.0 | 2.25.0 | 0.17.0 | 1.15 / 2.3 | 0.27.0 | 2.3.0 |
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
File details
Details for the file tfx_bsl-1.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tfx_bsl-1.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 22.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc767ff141f5f6b0b21ef0a0479f8294a678c0340f8f9b7e69413fb429e329a6 |
|
MD5 | 2a964c957b7bf094e17a90fc49d1dddd |
|
BLAKE2b-256 | c0e7b5f7858a63884248bc58f9ecf4d2d41d1eca66103ac742a8b6bb6ec6a075 |
File details
Details for the file tfx_bsl-1.16.1-cp311-cp311-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: tfx_bsl-1.16.1-cp311-cp311-macosx_12_0_x86_64.whl
- Upload date:
- Size: 24.1 MB
- Tags: CPython 3.11, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c13ff8f4de36ceea598a5a06b9cccabb73c7b9792ca280b915abd24b6a141b5 |
|
MD5 | 25d2b74bc17026cb401da96f69b93f50 |
|
BLAKE2b-256 | e5e5a123d09e160be09423544529883f59b89dcbfb3242218a535af2b23826f4 |
File details
Details for the file tfx_bsl-1.16.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tfx_bsl-1.16.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 22.5 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57708e2a83a86c7eb1901bceae61c5772438ba41f61eedf8a639f5caf0ae59b3 |
|
MD5 | 5b24a65dffe4620bd69d8025c222705b |
|
BLAKE2b-256 | 9a7a0260f1b636ee6abfa1baf52a6c949c85a24cd08c56077a56d60298348e92 |
File details
Details for the file tfx_bsl-1.16.1-cp310-cp310-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: tfx_bsl-1.16.1-cp310-cp310-macosx_12_0_x86_64.whl
- Upload date:
- Size: 24.1 MB
- Tags: CPython 3.10, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a395decd7b60d10e4e703b0a0cfbfb7621afdd4139a3e8f4313afb05b92c2073 |
|
MD5 | 192209f231e2735d4dc30700a2d71aa8 |
|
BLAKE2b-256 | baa4afbaab6eaf0f05c162e30b635ad43d7477e5e6ebc241430cfb4afc35a91b |
File details
Details for the file tfx_bsl-1.16.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tfx_bsl-1.16.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 22.5 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f238457011c3af3dde42767abde20b5970ccb534109b2b6833b468fc006a42a |
|
MD5 | 1ca9d64eaa8e9c977bf148dd7e700fd0 |
|
BLAKE2b-256 | 2cfc4e7be484c805dd6393f98fc52caba22ba3bfb6e299bf8eadd2f8742db0ea |
File details
Details for the file tfx_bsl-1.16.1-cp39-cp39-macosx_12_0_x86_64.whl
.
File metadata
- Download URL: tfx_bsl-1.16.1-cp39-cp39-macosx_12_0_x86_64.whl
- Upload date:
- Size: 24.1 MB
- Tags: CPython 3.9, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32597995516cf936f2267d756907a2c5362ae52560047b090ea41a6a920d04e2 |
|
MD5 | 5104665f022de93a59acf8bfcc7cfd7b |
|
BLAKE2b-256 | e5859a1130614773c058759deba808d3dc060f85c3f9c457dc049f963f7f3d9f |