electriclilies commented on a change in pull request #8835:
URL: https://github.com/apache/tvm/pull/8835#discussion_r695071356
##########
File path: src/relay/backend/build_module.cc
##########
@@ -491,8 +491,8 @@ class RelayBuildModule : public runtime::ModuleNode {
auto lowered_funcs = executor_codegen_->GetIRModule();
// No need to build for external functions.
- if (lowered_funcs.find("ext_dev") != lowered_funcs.end()) {
- lowered_funcs.Set("ext_dev", IRModule());
+ if (lowered_funcs.find(tvm::Target("ext_dev")) != lowered_funcs.end()) {
+ lowered_funcs.Set(tvm::Target("ext_dev"), IRModule());
Review comment:
done :)
--
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]