masahi edited a comment on pull request #6327:
URL: https://github.com/apache/incubator-tvm/pull/6327#issuecomment-678901165


   > LGTM! Could you also share the compilation time impact of hummingbird by 
tuning this option? Thanks!
   
   It's hard to say. I've only tested on my laptop, but without this change 
(unbounded fuse depth) I cannot compile for even a tiny dataset of size (20, 
10) in 1 hour. Compiling for a real world dataset is infeasible.
   
   With configurable depth, the time it takes to run `relay.build` on the 
dataset of size (20, 10) is roughly:
   * max fuse depth = 15: 1 sec
   * max fuse depth = 50: 10 sec
   
   Note that with this change, fusion is no longer a problem for compiling 
hummingbird models, no matter what the dataset size is. I can now compile for 
the dataset of size (500, 10), but (1000, 10) gives a segfault for a different 
reason not related to fusion. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to