jinhongyii commented on code in PR #15673:
URL: https://github.com/apache/tvm/pull/15673#discussion_r1316425796


##########
src/runtime/disco/loader.cc:
##########
@@ -43,7 +43,7 @@ class ShardLoaderObj : public Object {
   /*! \brief Create a shard loader. */
   static ObjectRef Create(const std::string& path_to_metadata, const 
std::string& metadata,
                           const std::string& shard_info,
-                          TypedPackedFunc<void(DLTensor*, int, DLTensor*)> 
f_shard);
+                          PackedFunc f_shard);

Review Comment:
   TypedPackedFunc cannot be null



-- 
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: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to