You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/10/02 17:01:44 UTC

[GitHub] [incubator-tvm] tkonolige commented on a change in pull request #6612: [FIX,AUTOTVM] Print warning when all autotvm tasks fail with errors

tkonolige commented on a change in pull request #6612:
URL: https://github.com/apache/incubator-tvm/pull/6612#discussion_r498941441



##########
File path: python/tvm/autotvm/tuner/tuner.py
##########
@@ -174,6 +176,13 @@ def tune(self, n_trial, measure_option, early_stopping=None, callbacks=(), si_pr
             else:
                 logger.setLevel(old_level)
 
+        if error_ct == i:
+            logging.warning(
+                "Could not find a single schedule for task %s. A fallback config will be used. "
+                "The following errors occured:\n  %s",
+                self.task,
+                "\n  ".join(errors),

Review comment:
       Good point. I've switched it to output to a temporary file.




----------------------------------------------------------------
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:
users@infra.apache.org