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 2021/09/14 20:58:47 UTC

[GitHub] [tvm] areusch commented on a change in pull request #8858: [Graph Executor, VM] Add end to end benchmarking of models

areusch commented on a change in pull request #8858:
URL: https://github.com/apache/tvm/pull/8858#discussion_r708627850



##########
File path: python/tvm/runtime/vm.py
##########
@@ -552,6 +561,11 @@ def benchmark(
             milliseconds. This can be used to ensure that the function is run enough to get an
             accurate measurement.
 
+        end_to_end : bool
+            If set, include time to transfer input tensors to the device and time to transfer
+            returned tensors in the total runtime. This will give accurate timings for end to end

Review comment:
       i'm not sure "accurate" is exactly the right thing to say here since there is probably jitter in the transfer...but the gist makes sense.




-- 
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-unsubscribe@tvm.apache.org

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