aboutsummaryrefslogtreecommitdiffstats
path: root/LIMITATION.md
diff options
context:
space:
mode:
Diffstat (limited to 'LIMITATION.md')
-rw-r--r--LIMITATION.md28
1 files changed, 17 insertions, 11 deletions
diff --git a/LIMITATION.md b/LIMITATION.md
index deda0ad..1638241 100644
--- a/LIMITATION.md
+++ b/LIMITATION.md
@@ -1,21 +1,27 @@
# Limitation
```
-* Bazel build takes lots of time, since it like bitbake which has own rules
- and builds everything from scratch. Currently bazel could not reuse Yocto
- DEPENDS/RDEPENDS.
+* Target arch only supports 64 bit arm and 64 bit x86. BSP (MACHINE)
+ incluced in above archs should be supported.
+
+* Bazel build takes lots of time, it has own rules and builds everything
+ from scratch. Currently bazel could not reuse Yocto DEPENDS/RDEPENDS.
* In order to run tensorflow cases in a reasonable time, although it builds
- successfully on qemuarm, qemuarm64, qemumips, qemumips64, qemux86 and
- qemux86-64, only qemux86-64 with kvm for runtime test.
+ successfully on qemuarm, qemuarm64, qemux86 and qemux86-64, only qemux86-64
+ with kvm for runtime test.
-* It failed to use pre-build model to do predict/inference on big-endian platform
- (such as qemumips), since upstream does not support big-endian very well
+* It failed to use pre-build model to do predict/inference on big-endian
+ platform, since upstream does not support big-endian very well
https://github.com/tensorflow/tensorflow/issues/16364
-* Do not support 32-bit powerpc (qemuppc) since BoringSSL does not support it.
- (BoringSSL is a fork of OpenSSL used to implement cryptography and TLS across
- most of Google's products)
-
* If host(build system) is not x86_64, please add meta-java to BBLAYERS in
conf/bblayers.conf (git://git.yoctoproject.org/meta-java)
+
+* Due to tensorflow build requires lots of CPU and Memory, in order to
+ avoid out of memory issue, explicitly set the number of local CPU
+ threads available to 25% of total number of local CPU cores and
+ the amount of local host RAM (in MB) available to 25% of total amount
+ of local host RAM by default. If host is powerful enough, adjust BAZEL_JOBS
+ and BAZEL_MEM in local.conf to override default set. If set BAZEL_JOBS = ""
+ and BAZEL_MEM = "", there will be no limitation on the available CPU and RAM.
```