SWu commented on issue #4519: [Relay] VM executor doesn't work with higher 
order gradient function
URL: https://github.com/apache/incubator-tvm/issues/4519#issuecomment-566206902
 
 
   ParialEvaluate + DeadCodeElimination segfaults for me
   
   I actually have a lot of trouble running gradient functions (even 
first_order) through the VM, it seems some pass doesn't play nicely with 
gradient function and DeadCodeElimination always triggers a segfault somewhere 
in 0.6.0 release. I didn't have this problem before all of the compile 
optimization passes were added, but I also haven't been able to find a minimal 
reproducible example. All I know is that DeadCodeElimination at some point 
during CalcDep probably tries to visit some invalid reference variable. It's 
only with generated gradient functions that I run into this, regular feed 
forwards seems to be fine.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to