Closed tsrjzq closed 2 years ago
Thank you for your feedback.
It seems that you are using a third-party repository to install tflite. I suggest you to check the guidelines to install TFLite for ARM64 via CK using MLCommons CK repositories: https://github.com/mlcommons/ck/blob/master/docs/mlperf-automation/reproduce/ck-image-classification-rpi4-tflite.md ...
I remember that I have fixed this problem with EIGEN library in the mlcommons@ck-mlops repo.
However, if it is also failing, I will need to check it further ...
Thank you and have a nice weekend!
Thank you gfursin, I modified download_dependencies.sh in tensorflow and change EIGEN to other download address, now it is OK now.
Hi, I'm trying to install tflite on arm64 platform with ck, but failed. one of patch file not found. I try to download it(https://bitbucket.org/eigen/eigen/get/9f48e814419e.tar.gz) manually, it doesn't exist. The full log is as below.
ubuntu@VM-0-4-ubuntu:~$ ck install package --tags=lib,tflite,v1.13
Package found: lib-tflite-1.13.1-src-static (bbde49998ab62431)
Resolving software dependencies ...
*** Dependency 1 = compiler (C++ compiler):
Searching if CK environment for this package already exists using:
CK environment not found for this package ...
*** Installation path used: /home/ubuntu/CK-TOOLS/lib-tflite-src-static-1.13.1-llvm-10.0.0-linux-64
Resolving software dependencies ...
*** Dependency 1 = compiler (C++ compiler):
Installing to /home/ubuntu/CK-TOOLS/lib-tflite-src-static-1.13.1-llvm-10.0.0-linux-64
Cloning package https://github.com/tensorflow/tensorflow ...
Cloning into 'src'... remote: Enumerating objects: 1298480, done. remote: Counting objects: 100% (102/102), done. remote: Compressing objects: 100% (61/61), done. remote: Total 1298480 (delta 42), reused 97 (delta 41), pack-reused 1298378 Receiving objects: 100% (1298480/1298480), 828.72 MiB | 17.34 MiB/s, done. Resolving deltas: 100% (1054695/1054695), done. Updating files: 100% (25509/25509), done.
Checking out branch v1.13.1 ...
Updating files: 100% (26862/26862), done. Note: switching to 'v1.13.1'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 6612da89516 Merge pull request #26101 from gunan/r1.13
Preparing sources ...
[Patcher] Patching of the original code enabled [Patcher] Original patch patterns: ${ORIGINAL_PACKAGE_DIR}/patch.${CK_TARGET_OS_ID}/* [Patcher] Resolved patch filenames: /home/ubuntu/CK/ck-tensorflow/package/lib-tflite-1.13.1-src-static/patch.linux/Makefile.patch [Patcher] Applying patch /home/ubuntu/CK/ck-tensorflow/package/lib-tflite-1.13.1-src-static/patch.linux/Makefile.patch patching file tensorflow/lite/tools/make/Makefile
Download dependencies ...
downloading https://bitbucket.org/eigen/eigen/get/9f48e814419e.tar.gz
gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
CK error: [package] package installation failed!