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

Tensorflow 2.11.0 - fails at configure step #24

Open
korpx-z opened this issue Jan 19, 2024 · 1 comment
Open

Tensorflow 2.11.0 - fails at configure step #24

korpx-z opened this issue Jan 19, 2024 · 1 comment

Comments

@korpx-z
Copy link

korpx-z commented Jan 19, 2024

I can't seem to build Tensorflow myself on zlinux - the configure step fails with:

Starting local Bazel server and connecting to it...
INFO: Reading 'startup' options from /tmp/source/tensorflow/.tf_configure.bazelrc: --host_jvm_args=-Xms0G --host_jvm_args=-Xmx0G
Server crashed during startup. Now printing /bazel/path/to/jvm.out
Invalid maximum heap size: -Xmx0G

ts_configure.bazelrc is obviously a generated file, and I'm having a hard time figuring out how these jvm options are assigned... is this Dockerfile still buildable on your end?

@linuxonz
Copy link
Contributor

linuxonz commented Jan 23, 2024

Hello,

Looks like the VM you are build on has less mem. JVM options are set in the tf_v2.11.0.patch file. You could try the following. Download tf_v2.11.0.patch (https://github.com/linux-on-ibm-z/scripts/blob/master/Tensorflow/2.11.0/patch/tf_v2.11.0.patch).
Remove the JVM args from the patch file. Update the dockerfile to use your modified patch file and build the image.

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

2 participants