cbalint13 commented on PR #17627:
URL: https://github.com/apache/tvm/pull/17627#issuecomment-2644420472

   > @cbalint13
   > 
   > Thank you for your response and help.
   > 
   > I am using Relay and the auto-scheduler (a.k.a. Ansor), but I don't think 
the issue is in Relay. For some tasks, the auto-scheduler fails to generate 
code. In these cases, it calls TOPI and ends up in the BroadcastShape function. 
For some schedules found during tuning, it is not possible to use the TOPI code 
for the layers where code generation failed. As a result, the tuning solution 
cannot be used, and we need to perform a new tuning.
   
   A pinpoint example would help here to understand the source cause,  relay vs 
relax flow differs in ways the passes are applied.
   I am personally against the shunt for the broadcast, the very failure must 
signal the scheduler to skip its iter variant (as not legit).
   
   Cc @Hzfengsy 
   
   > I believe that addressing this issue is crucial for maintaining support 
for the auto-scheduler. Did the auto-scheduler support stop in v0.19.0?
   
   auto-scheduler (metaschedule/ansor) stays , the older autotune with relay 
flow goes (unmaintained since a while).
   auto-scheduler is commonly used by booth relax and old relay, but in flows 
the way rules may be applied is different for each.
   
   I suggest to adapt your code to an equivalent modern relax flow, if this 
issue still pops up we must look at it.
   Do you also experience this issue only with a more recent tvm version 
(assuming with unmaintained relay) ?
   
   
   
   


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