Git Product home page Git Product logo

Comments (4)

mtrofin avatar mtrofin commented on May 2, 2024

That's a known issue with lld, and the short answer is "use gold" (and we're about to make this go away altogether, by moving to TFLite).

...but looking at the docker file, you are installing gold - looks like roughly doing what the buildbots are doing; so my first reaction is "ok, this is weird".

Off the top of my head, one difference with the buildbots is that they run on debian 11 (bullseye).

Anyway, let me try your docker file, see how gold gets itself inserted. Also checking with Fuchsia folks - they are building this on their buildbots, so "it must be working somehow".

BTW - awesome idea dockerizing this, if you want, could you contribute it?

Thanks!

from ml-compiler-opt.

boomanaiden154 avatar boomanaiden154 commented on May 2, 2024

Switching from libtensorflow 2.x to libtensorflow 1.15.x might also resolve the issue as I believe I've seen this specific issue when exactly replicating the demo, but I was using ld instead of lld if I recall correctly.

from ml-compiler-opt.

mtrofin avatar mtrofin commented on May 2, 2024

Aaah! OK, ya, then that's it - the demo does want 1.15.

This will all be moot soon, like I mentioned - @petrhosek did all the heavy lifting to enabling that on the TFLite (and deps) side of things, so we've just (as in, as of this past Thu) starting to get remaining changes on the llvm and ml-compiler-opt side lined up. So probably in the next few weeks it'll all be done; meanwhile, would using the TF C API lib v1.15 be ok?

from ml-compiler-opt.

afaul avatar afaul commented on May 2, 2024

Thank you for your fast reply. The Problem was indeed the TF C API lib version. I added a pull request to correct the instructions to recreate the demo results.

from ml-compiler-opt.

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.