Marek Pikuła [Mon, 19 Dec 2022 16:11:37 +0000 (17:11 +0100)]
Link with libatomic
Since glibc 2.34 (upgrade needed for RISC-V port) libatomic needs to be
explicitly specified for linker.
Change-Id: Ibf5158d6a86d65a1408c88d4a3b4a3479394dc60
Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com>
Yongjoo Ahn [Thu, 1 Dec 2022 06:38:57 +0000 (15:38 +0900)]
[packaging] Remove build dep of system flatbuffers
- Recent versions of tflite require recent version of flatbuffers
header, which is not compatilbe with this version of tflite. To
maintain this package (tflite 1), use flatbuffers-v2.0.0 src files and
detach the dependency to system flatbuffers
- And add header files of flatbuffers-v2.0.0 in the devel package
Change-Id: I899d8ce4ba4fac0e4b9defe4da0b3a891ed6ee5a
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
Sangjung Woo [Tue, 16 Mar 2021 01:49:23 +0000 (10:49 +0900)]
[Security] Fix Security vulnerability issue
This patch fixes the below security vulnerability issues.
* CVE-2020-15266
* CVE-2020-15265
* CVE-2020-26267
* CVE-2020-5215
Change-Id: I6d2919b59d1de8c85a18869f332b477495047bf7
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Geunsik Lim [Tue, 15 Dec 2020 08:28:34 +0000 (17:28 +0900)]
DIST/Tizen: Added header files for automatic speech recognition
This commit is to append header files (e.g., internal, testing,
benchmark, and util folder to support symbols that are used in
the automatic speech recognition (ASR) application.
Change-Id: I45ab7e770687fe01ad90e280b9f64f60982df8e8
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Geunsik Lim [Fri, 27 Nov 2020 01:56:20 +0000 (10:56 +0900)]
Removed unnecessary file (eigen.patch)
This commit is trivial. It's to delete an unused file (./packaging/eigen.patch).
Change-Id: If882760c8e30d04b37733b84b6e16ef21862b410
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
MyungJoo Ham [Mon, 21 Sep 2020 09:30:05 +0000 (18:30 +0900)]
DIST/Tizen: move headers to tensorflow1
Many C users use #include <tensorflow/FILENAME.h>
In order to let them choose tensorflow2 and tensorflow1 easily
at build-time, move files to tensorflow1 and let them choose
it with pkgconfig contents.
Do not merge this for Tizen 6.0.
This is for Tizen 6.5. (TF2-lite co-existance)
Change-Id: Ia62da382056360a2f4677ee454b021b67a527557
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Geunsik Lim [Thu, 27 Aug 2020 06:10:54 +0000 (15:10 +0900)]
Fixed incorrect homepage of Tensorflow
This commit is trivial. It is to fix the existing homepage address
by replacing internal homepage with public homepage.
Change-Id: I38d7f03f99f05c5a22014f809fb3441af6ca6228
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Geunsik Lim [Thu, 20 Aug 2020 03:57:19 +0000 (12:57 +0900)]
Tizen/DIST: Removed unnecessary files in packaging folder
This commit is to remove unnecessary files that are located in the "./packaging/"
directory. And, let's keep the compressed source files (e.g., *.tar.gz)
with a 'z' option continually.
**Changelog**
* Removed an unnecessary files
- tf_core_framework_patch.txt and flatbuffers.tar.gz
Change-Id: Id41cadcfbf1a6b8e8e1378c377a436583d876b7b
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Wook Song [Thu, 18 Jun 2020 02:21:12 +0000 (11:21 +0900)]
Modify the rpm spec file to use flatbuffers in system
This patch modifies the rpm spec file to use the flatbuffers dev-kit
provided by the system.
Change-Id: Icb8ab603808caef8d9925fa8c8f613f746cd8495
Signed-off-by: Wook Song <wook16.song@samsung.com>
gichan-jang [Fri, 12 Jun 2020 06:52:32 +0000 (15:52 +0900)]
Remove flatbuf header from tflite-devel pkg
Flatbuf-devel and tflite-devel is conflicted.
This PR remove flatbuf header files from tflite-devel pkg.
Change-Id: I30aad2951080b1b795b3ab29175515d814c95ea9
Signed-off-by: gichan-jang <gichan2.jang@samsung.com>
MyungJoo Ham [Tue, 9 Jun 2020 08:20:55 +0000 (17:20 +0900)]
[VD/GBM] Suffering from lto again.
TV is suffering from link-time-optimization flag again.
Disable lto for TV build only.
Tizen:Unified and other GBMs will still use lto.
Change-Id: I76a41194ce2691b23c31ad104fad1d1e04cca9b9
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Mon, 30 Mar 2020 04:47:11 +0000 (13:47 +0900)]
[VD/GBM] Remove wreturn-type warning.
Although this is OPEN-P and it is unreachable code,
add workaround for wreturn-type.
Change-Id: Idf11044b927407ae7d3bd241d58d41588073ad96
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Inki Dae [Thu, 12 Mar 2020 02:59:54 +0000 (11:59 +0900)]
packaging: pack flatbuffer schema file
This patch generates a new package file, tensorflow-lite-flatbuf,
and the schema file is added to the package.
The schema file is used by ARMNN - armnn internally compiles
tensorflow lite parser using the schema file.
Changelog v1:
- Added Requires: tensorflow-lite-devel package
- Updated description
Change-Id: I398254cdd4c032f2110b457c2bdf491172c738cf
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Dongkyun Son [Tue, 4 Feb 2020 06:40:27 +0000 (15:40 +0900)]
Revert "[Dist] Disable -lto option."
This reverts commit
927a791e44738b5ee4173d5794d3f28e4d350af8.
Change-Id: I241ccf1c4e51b1f9608940838063fb95aa8dbff7
HyoungJoo Ahn [Thu, 9 Jan 2020 07:45:01 +0000 (16:45 +0900)]
fix the applying CFLAG according to the version of GCC
Change-Id: I904f96f45f27fe5ba45d9a48420ec7a5662a0f3b
HyoungJoo Ahn [Tue, 7 Jan 2020 08:00:22 +0000 (17:00 +0900)]
add a C/CPP FLAG of the memory access policy
Change-Id: Ia9f9f68110bbe4099338b131a9ff38208e335912
Signed-off-by: HyoungJoo Ahn <hello.ahn@samsung.com>
Andrey Kazmin [Fri, 13 Dec 2019 13:17:46 +0000 (16:17 +0300)]
Fixed Makefile for benchmark build
Filtered out benchmark_plus_flex_main.cc from benchmark build,
because of its tflite::benchmark::Main conflicts with ones defined
in benchmark_main.cc.
We didn't ever build benchmark_model with Flex op support.
So, we could simply filter out benchmark_plus_flex_main.cc
from benchmark sources.
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
MyungJoo Ham [Fri, 6 Sep 2019 04:17:41 +0000 (13:17 +0900)]
[Dist] Disable -lto option.
Some Tizen distributors use -lto, which breaks Tensorflow-Lite.
Override such an option by adding -lno-lto.
Change-Id: Ib3bda7c020be0480d2603b124519a7ebab9904d1
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 5 Sep 2019 09:39:00 +0000 (18:39 +0900)]
[Dist] Remove tf-normal dependencies.
Enable tf-lite only, remove tf-normal build deps.
Change-Id: I4edcdc644a1ae353215715611a210bdb5b1d44d4
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 18 Jul 2019 10:21:21 +0000 (19:21 +0900)]
[Dist] Build TF-Lite only
1. That's what we need in Tizen 5.5 for now.
2. TF CMake Build is too much broken. I've resolved all build & runtime-link errors; however, now I'm seeing much harder runtime memory issues with CMake TF build. Until we get BAZEL+OpenJDK8 in Tizen, let's hold tensorflow.
Change-Id: Iaba1de07f541a603c832ef6ba7a360858e69307a
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 18 Jul 2019 06:43:15 +0000 (15:43 +0900)]
[Dist/Debian] Handling double-quote in debian-way
It has a strange parsing rule.
Change-Id: I46ff25d87d85122a8d80839cb1fe3cf03d5f9382
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 18 Jul 2019 03:55:25 +0000 (12:55 +0900)]
[Dist/Debian] Add cflags for debian tf-lite build
TF Lite wans some additional build flags.
Change-Id: I32ba9243a42257040c83b9be3b30a14bdd84279c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 18 Jul 2019 02:00:54 +0000 (11:00 +0900)]
[Dist/Debian] Fix incorrect path
Path to neon2sse is incorrect.
Change-Id: Iba6e3c7f49e9d30c3a48f6570db32e49392baa50
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 18 Jul 2019 00:30:27 +0000 (09:30 +0900)]
[Dist/Debian] Add -fpermissive
It appears that it does not get flags from command line.
Change-Id: Ic49fc56784a9c65aeac0ea048f51407bd3b5a914
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 18 Jul 2019 00:27:05 +0000 (09:27 +0900)]
[CMake] array_ops.h is generated by tf_cc_ops
Add tf_cc_ops in the dependency lists.
Change-Id: Ic491e94d433e0e3ec274cbcf2c15ca343da8cd00
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 16:26:07 +0000 (01:26 +0900)]
[CMake] Another array_ops error after shared lib
[ 1814s] /home/abuild/rpmbuild/BUILD/tensorflow-v1.13.1/tensorflow/core/grappler/optimizers/data/vectorization/cwise_op_vectorizer.cc:18:41: fatal error: tensorflow/cc/ops/array_ops.h: No such file or directory
[ 1814s] #include "tensorflow/cc/ops/array_ops.h"
[ 1814s] ^
[ 1814s] compilation terminated.
[ 1814s] CMakeFiles/tf_core_cpu.dir/build.make:3062: recipe for target 'CMakeFiles/tf_core_cpu.dir/home/abuild/rpmbuild/BUILD/tensorflow-v1.13.1/tensorflow/core/grappler/optimizers/data/vectorization/cwise_op_vectorizer.cc.o' failed
[ 1814s] make[2]: *** [CMakeFiles/tf_core_cpu.dir/home/abuild/rpmbuild/BUILD/tensorflow-v1.13.1/tensorflow/core/grappler/optimizers/data/vectorization/cwise_op_vectorizer.cc.o] Error 1
[ 1814s] make[2]: *** Waiting for unfinished jobs....
[ 1819s] CMakeFiles/Makefile2:2692: recipe for target 'CMakeFiles/tf_core_cpu.dir/all' failed
[ 1819s] make[1]: *** [CMakeFiles/tf_core_cpu.dir/all] Error 2
[ 1819s] Makefile:129: recipe for target 'all' failed
[ 1819s] make: *** [all] Error 2
[ 1819s] error: Bad exit status from /var/tmp/rpm-tmp.38NlR1 (%build)
message("STOPPING
[ 1819s]
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 11:59:35 +0000 (20:59 +0900)]
[CMake] Fix undefined symbol of SessionRef
Fix:
(gst-plugin-scanner:3296): GStreamer-WARNING **: Failed to load plugin '/home/abuild/rpmbuild/BUILD/nnstreamer-0.2.1/build/ext/nnstreamer/tensor_filter/libnnstreamer_filter_tensorflow.so': /lib64/libpywrap_tensorflow_internal.so: undefined symbol: _ZN10tensorflow10SessionRefC1EPNS_7SessionE
Change-Id: I46762a797798b8415d8f3f6af596904bfb6b6820
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 11:35:44 +0000 (20:35 +0900)]
[Debian/Ubuntu] Avoid unicode build error
[ 3752s] /usr/src/packages/BUILD/tensorflow/core/kernels/unicode_ops.cc:65:39: error: invalid conversion from 'const UChar* {aka const short unsigned int*}' to 'const char16_t*' [-fpermissive]
[ 3752s] const char16_t* buf = in.getBuffer();
[ 3752s] ^
[ 3753s] CMakeFiles/tf_core_kernels.dir/build.make:13670: recipe for target 'CMakeFiles/tf_core_kernels.dir/usr/src/packages/BUILD/tensorflow/core/kernels/unicode_ops.cc.o' failed
Change-Id: Iaaea748380a911a775e5c09fb1fa7a51bf31ecff
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 11:30:46 +0000 (20:30 +0900)]
[Dist/Debian] Separate main tensorflow package
Separate tensorflow.deb from tensorflow-dev.deb
Change-Id: I3773d89f49469cc868e10a8096d3fefbd4f0403f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 11:02:35 +0000 (20:02 +0900)]
[CMake] Aviod build error after build_shared enable
[ 1903s] /home/abuild/rpmbuild/BUILD/tensorflow-v1.13.1/tensorflow/core/grappler/optimizers/data/vectorization/cwise_op_vectorizer.cc:18:41: fatal error: tensorflow/cc/ops/array_ops.h: No such file or directory
[ 1903s] #include "tensorflow/cc/ops/array_ops.h"
[ 1903s] ^
[ 1903s] compilation terminated.
Change-Id: Ic492db50d2d74611bdff955b57678fab96c5505e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 10:02:10 +0000 (19:02 +0900)]
[CMake] TF's .so is missing absl symbols
Add dependencies to avoid:
(gst-plugin-scanner:29481): GStreamer-WARNING **: Failed to load plugin '/home/abuild/rpmbuild/BUILD/nnstreamer-0.2.1/build/ext/nnstreamer/tensor_filter/libnnstreamer_filter_tensorflow.so': /lib64/libpywrap_tensorflow_internal.so: undefined symbol: _ZN4absl16variant_internal21ThrowBadVariantAccessEv
Change-Id: Ic1b1fe2ac58537678a6a0c317441497a73423acd
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 10:00:57 +0000 (19:00 +0900)]
[Dist] Enable shared-lib option of tensorflow
Let's enable shared_lib mode.
Change-Id: I5d41bfd852f94b83dcd28bf29ea5ad2322f118bb
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 07:04:50 +0000 (16:04 +0900)]
[Dist/Debian] Fix rule path error
There was a missing deliminator, /.
Change-Id: I8ea784929c187ea2947fc9831cda6aeab90386e9
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 07:02:01 +0000 (16:02 +0900)]
[CMake] Fix undefined symbol of TFE_OpSetAttrBoolList
Fix:
(gst-plugin-scanner:2272): GStreamer-WARNING **: Failed to load plugin '/home/abuild/rpmbuild/BUILD/nnstreamer-0.2.1/build/ext/nnstreamer/tensor_filter/libnnstreamer_filter_tensorflow.so': /lib64/libpywrap_tensorflow_internal.so: undefined symbol: TFE_OpSetAttrBoolList
(gst-plugin-scanner:2272): GStreamer-WARNING **: Failed to load plugin '/home/abuild/rpmbuild/BUILD/nnstreamer-0.2.1/build/gst/nnstreamer/libnnstreamer.so': /lib64/libpywrap_tensorflow_internal.so: undefined symbol: TFE_OpSetAttrBoolList
Change-Id: I78b357d00bbf5d2cd57fb666f9885db9d8d4e965
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 05:49:50 +0000 (14:49 +0900)]
[Dist/Debian] Enable debian build for Ubuntu
Let it not use systemlib for protobuf/grpc.
Ubuntu xenial/bionic has old versions of them.
Change-Id: Icb3018993f2f54b74226b16c2daea6a7e089e996
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 17 Jul 2019 05:49:11 +0000 (14:49 +0900)]
[CMake] Fix regression on non-systemlib build mode for protobuf/grpc
Fix regression on non-systemlib builds.
Change-Id: Ie7912aba09d30bbf14557019d5d56b932fa1161f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 16 Jul 2019 06:59:24 +0000 (15:59 +0900)]
Revert "[Dist] Remove grpc/protobuf/zlib from dist cache"
Ubuntu Xeinal/Bionic has older versions of GRPC/Protobuf that are
not compatible with tensorflow 1.13. Use these archives for them.
This reverts commit
d5bd25d162d3b0834aaff7b0000963b2416715b0.
MyungJoo Ham [Tue, 16 Jul 2019 04:19:40 +0000 (13:19 +0900)]
[Dist] Remove dependency on grpc-static
Let's use shared library of grpc in Tizen.
Change-Id: Ief4cf02f13ab24019a80e137e58cc3dc596d04d9
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 12 Jul 2019 07:46:16 +0000 (16:46 +0900)]
[CMake] If GRPC is disabled, don't use it
TF_CORE_FRAMEWORK has been keep using it if it's NOT WIN32.
Change-Id: Ia3c9885459a1e906a8bffaad2ebdf0751ca62911
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 12 Jul 2019 07:21:38 +0000 (16:21 +0900)]
[Dist/Ubuntu] Fix rule file for pdebuild
With this update, GRPC dependency is resolved dynamically.
Fixed other potential issues and realigned install scripts.
Change-Id: I798649f1789650c01c64a867c736bf384ab6d16a
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 12 Jul 2019 07:20:49 +0000 (16:20 +0900)]
[TFLite/Make] Fix shell portability
Explicitly request bash for bash syntax.
Change-Id: I7cb6d0b34c393258059d5ebd56415098ab5f8933
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 12 Jul 2019 01:45:57 +0000 (10:45 +0900)]
[Dist/Ubuntu] Disable GRPC in xenial. Update GRPC for bionic
GRPC in xenial is too old. Disable it.
Change-Id: Ie9659d76797f468168a18538c052b6751a74d53c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 11 Jul 2019 03:55:33 +0000 (12:55 +0900)]
[Dist] Remove grpc/protobuf/zlib from dist cache
We now build with system's shared library for grpc/protobuf/zlib.
Change-Id: I9cd999363015f17bdf38d53f0fd1a1d8fd9bf2e4
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 11 Jul 2019 03:35:18 +0000 (12:35 +0900)]
[Dist] x64/tf-lite breaks nnstreamer
There are erros at nnstreamer:
[ 15s] c++ -o ext/nnstreamer/tensor_filter/libnnstreamer_filter_tensorflow-lite.so 'ext/nnstreamer/tensor_filter/
584bea7@@nnstreamer_filter_tensorflow-lite@sha/tensor_filter_tensorflow_lite.c.o' 'ext/nnstreamer/tensor_filter/
584bea7@@nnstreamer_filter_tensorflow-lite@sha/tensor_filter_tensorflow_lite_core.cc.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libnnstreamer_filter_tensorflow-lite.so -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -std=gnu++11 gst/nnstreamer/libnnstreamer.so /usr/lib64/libtensorflow-lite.a -ldl /usr/lib64/libglib-2.0.so /usr/lib64/libgstreamer-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgstbase-1.0.so /usr/lib64/libgstcontroller-1.0.so /usr/lib64/libgstvideo-1.0.so /usr/lib64/libgstaudio-1.0.so -lm -ldl /usr/lib64/liborc-0.4.so -Wl,--end-group -pthread '-Wl,-rpath,$ORIGIN/../../../gst/nnstreamer' -Wl,-rpath-link,/home/abuild/rpmbuild/BUILD/nnstreamer-0.2.1/build/gst/nnstreamer
[ 15s] /usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/../../../../x86_64-tizen-linux-gnu/bin/ld: /usr/lib64/libtensorflow-lite.a(interpreter.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
[ 15s] /usr/lib64/gcc/x86_64-tizen-linux-gnu/6.2.1/../../../../x86_64-tizen-linux-gnu/bin/ld: /usr/lib64/libtensorflow-lite.a(register.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
Change-Id: I08b2bcb9920d430171325957ab9f70cabea40ccb
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 11 Jul 2019 03:33:45 +0000 (12:33 +0900)]
[Dist] Install absl headers. Exclude duplicated.
TF headers require ABSL headers. Install them.
Exclude duplicated hedares of tf-lite from tf's devel.
Change-Id: I7e4a255383484e886857d2d2e33250cf7f5f42f9
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 10 Jul 2019 13:06:57 +0000 (22:06 +0900)]
CMake Fix for GRPC Shared Build
It has other .pc files
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 10 Jul 2019 11:37:36 +0000 (20:37 +0900)]
WIP: Fix cmake errors at ld step.
Change-Id: Ic1fa92de1cd31d0a06e707042988c277dd69e2df
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 10 Jul 2019 11:26:17 +0000 (20:26 +0900)]
WIP
Change-Id: Ia9fc23681c675f59a18a6d3309db88a5750d5641
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 10 Jul 2019 10:27:39 +0000 (19:27 +0900)]
[Dist/Debian] Add build-deps, use systemlibs.
Apply changes from Tizen build
Change-Id: I7c05a236d0c4a593ad105b3b39db08ab4dc509d4
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 10 Jul 2019 02:10:49 +0000 (11:10 +0900)]
[Dist] use Tizen's zlib, protobuf, grpc
Let's use the system's protobuf, grpc, and zlib.
And do not export headers of protobuf from tensorflow.
Change-Id: I6ad41fd1a15b6d2651a94f5a098114000520f456
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 10 Jul 2019 02:07:38 +0000 (11:07 +0900)]
[CMake] Allow to use pre-installed protobuf
If the system already has protobuf, let's use it without
downloading one.
Change-Id: Iaa2e722f0a5e4170422d66579f56be29dee01249
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 10 Jul 2019 00:48:22 +0000 (09:48 +0900)]
[Pkgconf] Fix nnstreamer-tensorflow build error
Let it refer to /usr/include/tensorflow.
Change-Id: I3a4f691cf2a059e4483b8e374125f00b31bd6834
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 10 Jul 2019 00:32:11 +0000 (09:32 +0900)]
Cmake/external/png fix install path inconsistency
use the same path for lib install paths
Change-Id: I4fc42af2745c9e3eaeaf628c34b005d686268184
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 9 Jul 2019 10:16:47 +0000 (19:16 +0900)]
[Dist/Debian] Enable 1.13 for debian build
WIP
Change-Id: Ieed6c60cd957d42a5a1229eabe1ea255e9c400fd
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 9 Jul 2019 09:17:40 +0000 (18:17 +0900)]
[Dist] Update pkgconfig data
Fix pkgconfig data for tensorflow dev users.
Change-Id: I05718d5a733e2628a330a1226df6c74ecaf5b406
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 9 Jul 2019 07:30:26 +0000 (16:30 +0900)]
[Dist] Tf-lite devel package update
Fix build errors of nnstreamer/tizen
Change-Id: If561a7b720f874286f3ac4bb52edc04aaa54ae61
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 9 Jul 2019 06:29:47 +0000 (15:29 +0900)]
[DIST] Rewrite install scripts for 1.13
Tf-lite install checked with i586
Fixes for TF w/ other arch will follow
Change-Id: I1fe831c63373d4bd669dac59231ab0bddd3c52a4
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 9 Jul 2019 01:19:05 +0000 (10:19 +0900)]
Fix tensorflow-lite build
GBS successfully builds tensorflow-lite with this commit
Next TODO: rewrite install scripts for packaging
Change-Id: I3232d291a22ee47892f0a1396422420912da3f14
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Mon, 8 Jul 2019 12:14:45 +0000 (21:14 +0900)]
[Dist] enable i586.
TODO: Find out tf-lite only build for 1.13
Change-Id: If751ffc3e2ab1bd1a974506d1c05692385d64b5c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Mon, 8 Jul 2019 11:59:57 +0000 (20:59 +0900)]
[Dist] remove find -delete, which is no more necessary
Change-Id: Iba76d3344c75333fda42b8c84cd04d6e9996adcf
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Mon, 8 Jul 2019 11:49:19 +0000 (20:49 +0900)]
[Dist] Fix libpng link error
Fix error with 64bit systems:
[ 1088s] make[2]: *** No rule to make target 'png/install/lib64/libpng16.a', needed by 'proto_text'. Stop.
Change-Id: Iaff40bd2819b3395939c9601da3cee2190d0e2a3
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Mon, 8 Jul 2019 11:17:50 +0000 (20:17 +0900)]
Archive clean up & dep update
OPENSSL should not be required; but due to tensorflow
bug (build-related), it still requires openssl/rsa.h
Change-Id: I68a4c808c2c415100498856f2f421d2c09a6d06c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Mon, 8 Jul 2019 10:52:51 +0000 (19:52 +0900)]
CMake: clean up archive files with cmake
There are dirty cmake caches in archives.
Clean them up.
Change-Id: Iafdbe246499afc4e75f920c43a4eaa60e044c91b
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Mon, 8 Jul 2019 10:46:46 +0000 (19:46 +0900)]
Archive Update with make clean, removed eigen patch.
1. Eigen is pre-patched.
2. Archives cleaned up (WIP)
Change-Id: I99d85304957b13250c7ac6b56bedfd130d7f05e7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 28 Jun 2019 13:47:49 +0000 (22:47 +0900)]
WIP. Experimenting with GBS
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 28 Jun 2019 08:09:20 +0000 (17:09 +0900)]
[Dist] Added build-dependency on ICU
Tensorflow uses ICU for unicode processing.
Change-Id: I3746811b7a3c25205cdcb172055e42fabb09fee7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 28 Jun 2019 07:39:19 +0000 (16:39 +0900)]
Added cmake dependency
There was a missing dependency that incurs
build errors stochastically.
tensorflow/core/grappler/optimizers/data/vectorization/cwise_op_vectorizer.cc:18:10: fatal error: tensorflow/cc/ops/array_ops.h: No such file or directory
Change-Id: I91b5923a90aab8080ea9cd559eb66e7c0b62f414
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 28 Jun 2019 07:36:05 +0000 (16:36 +0900)]
[Dist] Added archive files for tensorflow static build
Tensorflow still does the primitive and PITA of
downloading all external library source codes
and embeded them statically.
As we don't intend to refactor the whole build
structure of tensorflow, we added the archives.
Change-Id: I7cddfa8bf8b1d191b24ac13554b94ed44ef978f7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Fri, 28 Jun 2019 06:43:10 +0000 (15:43 +0900)]
CMake Build Fixed. It Works!
CMake build success with network support
How to do:
$ pushd build
$ cmake ../tensorflow/contrib/cmake -Dtensorflow_ENABLE_SSL_SUPPORT=OFF -Deigen_PATCH_FILE=/source/tizen/tensorflow/packaging/eigen.patch; make -j4
TODO
- Archive downloaded packages for GBS
- Package binary files properly
- Code clean and reformulate commits
Change-Id: I1f8d175f0b5518701e1e8c22077f2318e6c6ec58
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 27 Jun 2019 12:30:32 +0000 (21:30 +0900)]
CMake Dependency fix
Add array_ops dependency, which was missing
Removed a duplicated file inclusion, creating build errors.
Change-Id: I5c7de3d69d1c9d7fd1056f8c170344b42f4b8426
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 27 Jun 2019 12:29:07 +0000 (21:29 +0900)]
Let CMake Load ICU
ICU is required by unicode-related codes
Change-Id: Ib01def46bb8318563be0fbfe6d84601f42db369c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 27 Jun 2019 12:28:18 +0000 (21:28 +0900)]
Eigen fix 2
use
build$ cmake ../tensorflow/contrib/cmake -Dtensorflow_ENABLE_SSL_SUPPORT=OFF -Deigen_PATCH_FILE=${ABSOLUTEPATH}/packaging/eigen.patch
Change-Id: I5e56260e9318f14df72009365b18d9a9870f8f6c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Thu, 27 Jun 2019 04:04:47 +0000 (13:04 +0900)]
Update Eigen Fix for Reusability
use
build$ cmake ../tensorflow/contrib/cmake -Dtensorflow_ENABLE_SSL_SUPPORT=OFF -Deigen_PATCH_FILE=../packaging/eigen.patch
Change-Id: Iaab17b57a3af1737173c306a5351c5972e20450d
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 26 Jun 2019 10:19:06 +0000 (19:19 +0900)]
WIP: Fix Eigen Errors
Apply https://bitbucket.org/eigen/eigen/commits/
88fc23324517/
Change-Id: I7ca808e5f91ed7e65d9c1a7d80cb943002c6d682
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Wed, 26 Jun 2019 09:17:17 +0000 (18:17 +0900)]
WIP: ABSL Error and Array_ops Error Fixed
Change-Id: I0e94da6128d841ca9c86cbbf264006cc2cb7035f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 18 Jun 2019 09:11:02 +0000 (18:11 +0900)]
WIP2 Fixingup ABSL
Change-Id: Icb539d8789ee87f426e544a248a6ab21d3b1f927
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 18 Jun 2019 04:11:50 +0000 (13:11 +0900)]
WIP
Change-Id: Ifad90cf9964e63277c57fa9c2fd27c4eab17f4e6
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 11 Jun 2019 12:14:15 +0000 (21:14 +0900)]
[Dist] Rebased porting patches for 1.13.1
Selectively rebased and merged.
Change-Id: I77ac6ece2f9496adfa99b6dafa6d3489b828cf93
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham [Tue, 11 Jun 2019 11:53:48 +0000 (20:53 +0900)]
Imported Upstream version 1.13.1
MyungJoo Ham [Tue, 11 Jun 2019 11:49:57 +0000 (20:49 +0900)]
Imported Upstream version 1.12.0
MyungJoo Ham [Tue, 11 Jun 2019 11:44:19 +0000 (20:44 +0900)]
Imported Upstream version 1.9.0
Michael Case [Mon, 9 Jul 2018 20:38:25 +0000 (13:38 -0700)]
Merge pull request #20455 from lygztq/r1.9
fix bug in maxout function
Amit Patankar [Fri, 6 Jul 2018 20:11:25 +0000 (13:11 -0700)]
Merge branch 'r1.9' into r1.9
Gunhan Gulsoy [Fri, 6 Jul 2018 20:10:16 +0000 (13:10 -0700)]
Merge pull request #20593 from av8ramit/update_version_final
Updating the version to 1.9.0 official.
Amit Patankar [Fri, 6 Jul 2018 18:39:59 +0000 (11:39 -0700)]
Merge branch 'r1.9' into update_version_final
Gunhan Gulsoy [Fri, 6 Jul 2018 17:35:12 +0000 (10:35 -0700)]
Merge pull request #20596 from av8ramit/cp_disable_gcp
Remove unused gcp and hdfs config flags, as these are on by default now.
Gunhan Gulsoy [Sat, 30 Jun 2018 05:43:22 +0000 (22:43 -0700)]
Remove unused gcp and hdfs config flags, as these are on by default now.
PiperOrigin-RevId:
202753310
Gunhan Gulsoy [Fri, 6 Jul 2018 16:41:21 +0000 (09:41 -0700)]
Merge pull request #20535 from lamberta/r1.9-cherrypick-docs-no-merge
r1.9-cherry-pick-request: Docs updates for tutorials, guides, and notebooks
Gunhan Gulsoy [Fri, 6 Jul 2018 16:32:55 +0000 (09:32 -0700)]
Merge branch 'r1.9' into r1.9
Amit Patankar [Fri, 6 Jul 2018 16:27:31 +0000 (09:27 -0700)]
Updating the version to 1.9.0 official.
Billy Lamberta [Tue, 3 Jul 2018 23:56:01 +0000 (16:56 -0700)]
fix rc2
Billy Lamberta [Tue, 3 Jul 2018 23:40:14 +0000 (16:40 -0700)]
Update docs_src in 1.9 to match master
Billy Lamberta [Tue, 3 Jul 2018 23:17:58 +0000 (16:17 -0700)]
Update eager notebooks in 1.9 to match master
Amit Patankar [Tue, 3 Jul 2018 18:36:14 +0000 (11:36 -0700)]
Merge pull request #20437 from bhack/patch-1
Advise batch_normalization with model_to_estimator
Gunhan Gulsoy [Tue, 3 Jul 2018 05:39:06 +0000 (22:39 -0700)]
Merge pull request #20489 from tensorflow/yifeif-patch-2
Match for -path instead of -name
Yifei Feng [Tue, 3 Jul 2018 00:10:20 +0000 (17:10 -0700)]
Match for path instead of name
张天启 [Sun, 1 Jul 2018 14:05:51 +0000 (22:05 +0800)]
fix bug in maxout function
The line "shape[axis] = -1" will make the shape wrong when dealing with batches with arbitrary sizes.
bhack [Sat, 30 Jun 2018 12:54:43 +0000 (14:54 +0200)]
Advise batch_normalization with model_to_estimator
Michael Case [Fri, 29 Jun 2018 17:19:06 +0000 (10:19 -0700)]
Exclude test sources from stream executor builds. (#20423)
PiperOrigin-RevId:
202423156
Michael Case [Thu, 28 Jun 2018 21:42:25 +0000 (14:42 -0700)]
Merge pull request #20390 from case540/eigen_pip_cherry_pick
Fix install location for Eigen headers in pip build.