echuraev commented on code in PR #17522:
URL: https://github.com/apache/tvm/pull/17522#discussion_r1843516012


##########
python/tvm/driver/tvmc/compiler.py:
##########
@@ -470,9 +470,19 @@ def compile_model(
                 lib = graph_module.lib if use_vm else graph_module.get_lib()
                 # TODO lib.get_source call have inconsistent behavior for 
unsupported
                 #      formats (@leandron).
-                dumps[source_type] = lib.get_source(source_type)
+                try:
+                    dumps[source_type] = lib.get_source(source_type)
+                except tvm.TVMError:
+                    pass

Review Comment:
   What do you think, maybe we need to dump also `TVMError` in case if we were 
not able to get source?



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