Comments (4)
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.
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.
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.
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)
- 【Question】How to use GPU training, just install tensorflow-gpu? will there be better performance if using a larger model? HOT 1
- 【Question】Why use llvm-size to calculate rewards? llvm also calculates size rewards? HOT 2
- 【Question】Can you open the code of ES algorithm? HOT 2
- 【Question】What parameters need to be passed in to compile the data set? -Oz -Xclang -fembed-bitcode=all? HOT 2
- How to train a model using bin's llvmbc and llvmcmd segments?I want to optimize directly using the executable program HOT 6
- Why can’t I use llvmbc and llvmcmd of executable programs?
- questions about feature log HOT 1
- Is it not very accurate to use the size reward of the entire file as the reward for each caller-callee feature, if the file is large and has a large number of caller-callee? HOT 1
- What does the size of sequence_examples depend on, and how to set its size? HOT 5
- Does llvm-15.04 support mlgo? What versions of tensorflow and other libraries are needed? HOT 1
- Why is the length of the reward limited to 3 or more? HOT 3
- How to know the effect of model inlining when training the model? HOT 1
- how to get model.tflite file from inlining-Oz-99f0063-v1.1.tar.gz HOT 1
- Why “-static” affects the test results of the model HOT 2
- why need to calculate reward_stat? I see llvm_trainer.train use reward from sequence_example.reward HOT 1
- Can I merge all the bc files into a total bc file for training?
- How to compile other dataset using llvm's thinlto flag?
- Where do I find pretrained models for MLGOPerf? HOT 4
- `--compile_task` flag missing HOT 2
- [non-issue] MLGO Questions HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ml-compiler-opt.