Lunderberg commented on issue #16519:
URL: https://github.com/apache/tvm/issues/16519#issuecomment-1934164052

   Looks like this is model dependent, and would occur when there's a dynamic 
   
   * Add more information to the error raised.  This could be done by updating 
the `raise RuntimeError` to have the message `f"Expect value to be constant 
int, but expression {exp} was of type {type(exp)}"`.  This would help identify 
which dynamic parameter in the model is causing the issue.
   
   * Try using `tvm.dlight` for scheduling.  This is a set of schedules for 
dynamic-shaped inputs.  If your model cannot avoid having the dynamic 
parameter, these may be useful instead of the static schedules.


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to