Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating ppc64el wheel to latest version (currently: 2.2.0) #18

Open
jonglezb opened this issue Dec 14, 2020 · 0 comments
Open

Updating ppc64el wheel to latest version (currently: 2.2.0) #18

jonglezb opened this issue Dec 14, 2020 · 0 comments

Comments

@jonglezb
Copy link

Hi,

Expected Behavior

The ppc64el build at https://powerci.osuosl.org/job/TensorFlow2_PPC64LE_GPU_Release_Build/ should provide the latest stable version.

Actual Behavior

The version provided is 2.2.0, while the latest version is 2.3.1.

Details

I am using the ppc64el wheel linked above on a POWER8 system: it works fine, but it's still at 2.2.0.

The main issue I have is installation time, because it depends on a specific version of scipy. When installing the tensorflow wheel, pip needs to build this version of scipy, which takes about 20 minutes.
The dependency on scipy is not actually required and got removed in 2.3.1: tensorflow/tensorflow#41867

So, a 2.3.1 ppc64el wheel would make installation significantly faster.

Building a newer wheel

I used the script https://github.com/tensorflow/build/blob/master/ci_environments/ppc64le/gpu_build.sh together with the ibmcom/tensorflow-ppc64le:gpu-devel-manylinux2014 docker image and I managed to build tensorflow 2.3.1 with it.

There was one issue with some versions of python in the container:

/opt/python/cp37-cp37/bin/python3.7: error while loading shared libraries: libcrypt.so.2: cannot open shared object file: No such file or directory

I could fix that by adding /usr/local/lib/ to $LD_LIBRARY_PATH (most notably in the .tf_configure.bazelrc file generated by the script).

@jonglezb jonglezb changed the title Updating ppc64el wheel to 2.3.1 Updating ppc64el wheel to latest version (currently: 2.2.0) Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant