Giter VIP home page Giter VIP logo

Comments (4)

terryheo avatar terryheo commented on July 19, 2024

Could you share why you don't want to install TF 2.4 package?
We have TFLite only PIP distribution: https://www.tensorflow.org/lite/guide/python, but you can't use TF ops with this package.

We have an experimental way to build TFLite PIP package with Flex delegate.
I haven't tested it on Windows, but you might be able to use this.
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/tools/pip_package

Comparing this to TF 2.4 package, it's bit lighter but it's less preferable since you need to build the package.

bash CUSTOM_BAZEL_FLAGS=--define=tflite_pip_with_flex=true tensorflow/lite/tools/pip_package/build_pip_package_with_bazel.sh windows

from tflite-support.

pourfard avatar pourfard commented on July 19, 2024

from tflite-support.

terryheo avatar terryheo commented on July 19, 2024

I see. The compiled wheel was less than 50MB. It could be worth to try.

from tflite-support.

pourfard avatar pourfard commented on July 19, 2024

Sorry if I ask this question here.

when i run this command :

CUSTOM_BAZEL_FLAGS=--define=tflite_pip_with_flex=true tensorflow/lite/tools/pip_package/build_pip_package_with_bazel.sh windows

there is an error:

ERROR: C:/porsapp/tensorflow/tensorflow/tensorflow/core/common_runtime/BUILD:1651:1: Illegal ambiguous match on configurable attribute "deps" in //tensorflow/core/common_runtime:core_cpu_internal:
//tensorflow:windows
//tensorflow:no_gcp_support
Multiple matches are not allowed unless one is unambiguously more specialized.
ERROR: Analysis of target '//tensorflow/lite/python/interpreter_wrapper:_pywrap_tensorflow_interpreter_wrapper' failed; build aborted:

but when i run this:

tensorflow/lite/tools/pip_package/build_pip_package_with_bazel.sh

there is no error.

I've checked out Tensorflow r.2.4. Do you know what the problem is?

from tflite-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.