tensorflow: Test failures in //tensorflow/java module
Click to expand!
Issue Type
Others
Source
source
Tensorflow Version
2.9.1
Custom Code
No
OS Platform and Distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
Python 3.8.10
Bazel version
5.1.1
GCC/Compiler version
9.4.0
CUDA/cuDNN version
NA
GPU model and memory
NA
Current Behaviour?
Tests fail when run locally.
Tests should pass.
Checked a few CI builds and observed only //tensorflow/java:source_writer_test is executed. Could someone please share thoughts on this?
Standalone code to reproduce the issue
bazel --host_jvm_args="-Xms1024m" --host_jvm_args="-Xmx2048m" test //tensorflow/java/...
Relevant log output
java.lang.UnsatisfiedLinkError: Cannot find TensorFlow native library for OS: linux, architecture: x86_64.
.
.
java.lang.NoClassDefFoundError: Could not initialize class org.tensorflow.EagerSession
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (13 by maintainers)
The Tensorflow Java API in this repo isn’t maintained. The maintained version of TF-Java lives in https://github.com/tensorflow/java.