[Relay] Flaky Compilation for Gluoncv SSD model
See original GitHub issueI’m adding relay support for gluoncv ssd models. The end to end compilation randomly fails:https://github.com/kevinthesun/tvm/blob/RefactorSSDOperator/tutorials/nnvm/deploy_ssd.py
First build RefactorSSDOperator branch under my folk tvm with USE_SORT ON Then run the test several times:
python deploy_ssd.py -f relay
Sometimes it succeeds but sometimes fails. The segfault happens inside op fuse pass: https://github.com/kevinthesun/tvm/blob/RefactorSSDOperator/src/relay/pass/fuse_ops.cc#L741
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
[Solved][Relay] Flaky compilation behavior - Development
I found an issue when I tried to add gluoncv SSD support for relay.
Read more >01. Predict with pre-trained SSD models
This article shows how to play with pre-trained SSD models with only a few lines of code. First let's import some necessary libraries:...
Read more >incubator-tvm/NEWS.md at master - GitHub
Relay supports algebraic data types, closures, control flow, and recursion, allowing it to directly represent more complex models than computation ...
Read more >TVM Change Log - Google Git
Relay compilation engine; Relay pattern language; CI and build process ... Added a set of utilities that allows a model to be run...
Read more >NEWS.md · 7cfcad9894969e9cc7d08b3cf4662b5e9fcde03a ...
Introduced HybridModule (#2477) so that normal TVM schedule can be compiled to hybrid target, run and dumped to Hybrid Script. Relay ][Frontend][Tensorflow] add ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kevinthesun I found the bug! deploy_ssd.py works with relay.
please change this line to
I’ll send a PR with more proper fix soon.
@jroesch ok, I’m still trying to figure out the root cause of the bug. The network is huge and the structure is unusual. Here is the 1600 line dump of Relay text, after compiling this network 😃