Giter Club home page Giter Club logo

Comments (5)

ekelsen avatar ekelsen commented on July 22, 2024

The layout of the saved models is the layout that was used during training. We modify the layout when loading for inference.

There does exist C++ code that runs the sparse models that used to generate the times in the paper, we do not consider it suitable for release due to its current lack of generality. We're working on a more general solution. Please reach out to the authors via email if you have a specific research use case that is being blocked by this.

from xnnpack.

WeiHao97 avatar WeiHao97 commented on July 22, 2024

Hi @ekelsen,

The layout of the saved models is the layout that was used during training. We modify the layout when loading for inference.

As I started to read tensorflow lite's code, I noticed that convolution operations are replaced by gemm kernels (in convolution-nhwc.c) rather then spmm kernels (in convolution-nchw.c). Is it because that the spmm are not integrated into the tf lite yet?

My main purpose for now is to see how is spmm used during tf lite inference when xnnpack is applied. It would be really helpful if you can recommond some documents/readings regards this.

Thank you very much!

from xnnpack.

ekelsen avatar ekelsen commented on July 22, 2024

It is not integrated into TF-lite. We will release a delegate that won't change the TF-lite code, but will essentially make TF-lite call XNNPACK to run a sparse model.

from xnnpack.

WeiHao97 avatar WeiHao97 commented on July 22, 2024

Hi @ekelsen,
Is there a roughly expected date for the release?

Thank you!

from xnnpack.

ekelsen avatar ekelsen commented on July 22, 2024

We hope to release it by CVPR.

from xnnpack.

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.