7andrew7 commented on code in PR #13084:
URL: https://github.com/apache/tvm/pull/13084#discussion_r996135473


##########
src/meta_schedule/utils.h:
##########
@@ -318,14 +318,16 @@ struct ThreadedTraceApply {
 
     for (int i = 0; i < n_; ++i) {
       Item& item = items_[i];
+      bool applied = false;
       try {
-        if (!item.postproc->Apply(sch)) {
-          ++item.fail_counter;
-          return NullOpt;
+        if (item.postproc->Apply(sch)) {
+          applied = true;
         }
       } catch (const std::exception& e) {
-        // Used in multi-thread, only output to screen but failure summary 
sent to logging
-        LOG(WARNING) << "ThreadedTraceApply::Apply failed with error " << 
e.what();
+        // left blank intentionally

Review Comment:
   One problem here is that we have no visibility into failures.
   
   Would it make sense to catch and log a bounded number before giving up and 
re-raising?
   



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