Dayuxiaoshui opened a new pull request, #18547:
URL: https://github.com/apache/tvm/pull/18547

   This patch fixes issue #18423 where meta_schedule.tune_tir crashes during 
initial population sampling when RewriteParallelVectorizeUnroll postprocessor 
encounters blocks that violate compact dataflow requirements.
   
   The crash occurred when:
   - A block reads and writes to the same buffer
   - RewriteParallelVectorizeUnroll tries to parallelize/vectorize these loops
   - ScheduleError is thrown and propagates through parallel_for_dynamic
   
   Solution:
   - Added exception handling in RewriteParallelVectorizeUnroll::Apply to catch 
ScheduleError and skip problematic blocks instead of crashing
   - Added exception handling in ThreadedTraceApply::Apply to catch exceptions 
from postprocessors and treat them as normal failures
   
   This makes the tuning process more robust by gracefully handling schedule 
errors instead of crashing the entire tuning session.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to