- 07 Jul, 2020 1 commit
-
-
Hongxu Jia authored
Since python3-numpy: update 1.18.5 -> 1.19.0, there is a GCC 10.1 compile error. Backport a patch from upstream to fix it [1] [1] https://github.com/tensorflow/tensorflow/pull/40654 Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
- 13 Apr, 2020 2 commits
-
-
Hongxu Jia authored
The python3-core provides /usr/bin/python3 which required by python3 scripts of tensorboard/tensorflow Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
- 10 Apr, 2020 2 commits
-
-
Hongxu Jia authored
The python3 script contains build path: ... '''exec' tmp-glibc/work/corei7-64-wrs-linux/tensorflow/1.13.0-r0/ recipe-sysroot-native/usr/bin/nativepython3 "$0" "$@" ... Improve sed operation to match nativepython3 Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
If [batch mode is] set, Bazel will be run as just a client process without a server, instead of in the standard client/server mode. [1] It is not necessary to shutdown a bazel server in batch mode. [1] https://docs.bazel.build/versions/master/user-manual.html Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
- 08 Apr, 2020 9 commits
-
-
Hongxu Jia authored
Move the duplicated part of tensorflow and tensorflow-native to tensorflow.inc Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Since Yocto has gcc9, the ice fix is not necessary, drop it Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Previously, we workaround tensorflow-native ice failure while building from source with host gcc 7.3.1, and tensorflow build requires the same fix since bazel cross compiling will do the native build at the same time. Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
On opensuse151_64, the gcc lib include dir is /usr/lib64/gcc/ rather than /usr/lib/gcc/, which caused failure ... |tensorflow/1.13.0-r0/bazel/output_base/external/nasm/BUILD.bazel:8:1: undeclared inclusion(s) in rule '@nasm//:nasm': |this rule is missing dependency declarations for the following files included by 'external/nasm/x86/regs.c': | '/usr/lib64/gcc/x86_64-suse-linux/7/include-fixed/limits.h' | '/usr/lib64/gcc/x86_64-suse-linux/7/include-fixed/syslimits.h' | '/usr/lib64/gcc/x86_64-suse-linux/7/include/stddef.h' | '/usr/lib64/gcc/x86_64-suse-linux/7/include/stdarg.h' ... Add /usr/lib64/gcc/ to cxx_builtin_include_directory Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Tensorflow does not work on some arch, add bbclass to skip all involved recipes. Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
The root cause is gcc ice issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 But we could not patch on native gcc,so try to workaround, Refer: https://github.com/tensorflow/tensorflow/issues/25323 Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Backport patch to fix grpc conflicts issue Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Chen Qi authored
We met the following error with python 3.8. TypeError: _logger_find_caller() takes from 0 to 1 positional arguments but 2 were given Backport a patch to fix this issue. Signed-off-by:
Chen Qi <Qi.Chen@windriver.com>
-
Chen Qi authored
Fix the following compliation error. error: cannot convert 'std::nullptr_t' to 'Py_ssize_t {aka long int}' in initialization This patch references: https://github.com/tensorflow/tensorflow/issues/34197 Signed-off-by:
Chen Qi <Qi.Chen@windriver.com>
-
- 07 Jan, 2020 1 commit
-
-
Hongxu Jia authored
... |ERROR: tensorflow-1.13.0-r0 do_package: tensorflow: Multiple shlib providers for libtensorflow_framework.so: tensorflow, tensorflow (used by files: tmp-glibc/work/core2-64-wrs-linux/tensorflow/1.13.0-r0/packa ges-split/tensorflow/usr/lib64/python3.7/site-packages/tensorflow/contrib/ image/python/ops/_distort_image_ops.so) ... Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
- 23 Aug, 2019 2 commits
-
-
Hongxu Jia authored
Move binary bazel from ${S} to ${WORKDIR}/bazel Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Since Define gettid() only for glibc < 2.30, glibc 2.30 has added this API, so let us use that when possible Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
- 09 Aug, 2019 23 commits
-
-
Hongxu Jia authored
Depends on bazel-native has already added while inherit bbclass bazel, protobuf and protobuf-native is not required at build time Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
The tensorboard needs to have dependency of util-linux-native as recipe is using rev utility which is only available in util-linux-native. Have dependency on bazel and protobuf as well to avoid further issues. Suggested-by: aakbar5 <https://github.com/aakbar5 > Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Run 32-bit tensorflow on qemux86-64, it broke at CheckFeatureOrDie, use warning to workaround. Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Since customize for Yocto, command test is useless, remove them. Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
While do_configure failed for other reason and rerun again, pyconfig-target.h will be duplicated with pyconfig.h: ... pyconfig-target.h:2:29: error: #include nested too deeply ... Test the existence of pyconfig-target.h before moving could workaround the issue. Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
- To enable modular op registration support, which non-monolithic build defines `framework_shared_object=true' - The non-monolithic build of TensorFlow does not support `-Wl,--as-needed' and explicitly set `-Wl,--no-as-needed' Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
While building with '-march=nehalem' or '-msse4.2', it failed with 'NEON_2_SSE.h' file not found. Refer https://github.com/tensorflow/tensorflow/issues/23440 , define marco TF_LITE_DISABLE_X86_NEON to workaround it. Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
The var-PYTHON_SITEPACKAGES_DIR is used for target, correct with native. Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Since [b1a6aa3 fix `Failed to extract install_base_key' while running bazel], revert [a81b50e build tensorflow-native and tensorflow in order] Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
1. The problem is the binary is edited after by setting the rpath. Which might mess up with zip data, you might want to run zip -A on Bazel. It stills needs to extract the install key to verify it does not need to extract all the remaining parts. Also Bazel contains other C++ binary and you are going to run in the rpath problem all the time. https://github.com/bazelbuild/bazel/issues/2978 2. Since binary bazel in recipe-sysroot-native is a hardlink, while multiple recipes invoke one bazel at the same time, there is probably a race error ... FATAL: Failed to open Bazel as a zip file: (error: 5): Input/output error ... Copy and run a duplicated bazel could workaround it Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Previously model does not accurate, refer upstream: https://www.tensorflow.org/lite/models/image_classification/overview update to latest modle. Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Refers: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/examples/label_image/label_image.md Add a pre-trained model `Mobilenet v1 224' for lable_image https://storage.googleapis.com/download.tensorflow.org/models/tflite/mobilenet_v1_224_android_quant_2017_11_08.zip Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Refers: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/label_image Add a pre-trained model `Inception v3' for lable_image https://cloud.google.com/tpu/docs/inception-v3-advanced Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
It caused undefined reference neon_tensor_utils failure ... |tensor_utils.cc:(.text._ZN6tflite12tensor_utils18ReductionSumVectorEPKfPfii+0x0): undefined reference to `tflite::tensor_utils::NeonReductionSumVector(float const*, float*, int, int)' ... Define Yocto specific cpu `armeabi' for lite label_image Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Add tensorflow-native to tensorflow's DEPENDS, actually tensorflow does not require tensorflow-native, but to avoid do_compile at the same time. Bazel build system does not support parallel build very well (very slowly). Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Build fails looking for `execinfo.h` when building against musl |In file included from ./tensorflow/core/platform/stacktrace.h:26, | from tensorflow/core/platform/stacktrace_handler.cc:34: |./tensorflow/core/platform/default/stacktrace.h:27:10: fatal error: execinfo.h: No such file or directory Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-
Hongxu Jia authored
Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com>
-