kevinthesun commented on a change in pull request #5856:
URL: https://github.com/apache/incubator-tvm/pull/5856#discussion_r443155615



##########
File path: python/tvm/relay/backend/vm.py
##########
@@ -253,6 +254,12 @@ def _make_executor(self, expr=None):
 
         def _vm_wrapper(*args, **kwargs):
             args = self._convert_args(main, args, kwargs)
+            ret_type = self.mod["main"].checked_type.ret_type
+            if type_has_any(ret_type) and "llvm" not in str(self.target) and 
"arm" not in str(
+                    self.target):
+                raise ValueError(
+                    "Virtual Machine only supports static graphs on CPU, got 
output type",

Review comment:
       Should be "Virtual Machine only supports static graphs on non-CPU 
platforms"?




----------------------------------------------------------------
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:
[email protected]


Reply via email to