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 2019/11/22 23:46:10 UTC

[GitHub] [incubator-tvm] u99127 commented on a change in pull request #4366: [DOCS] add benchmark log format doc

u99127 commented on a change in pull request #4366: [DOCS] add benchmark log format doc
URL: https://github.com/apache/incubator-tvm/pull/4366#discussion_r349836030
 
 

 ##########
 File path: docs/dev/benchmark.rst
 ##########
 @@ -0,0 +1,123 @@
+..  Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+..    http://www.apache.org/licenses/LICENSE-2.0
+
+..  Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+********************************
+Benchmark Performance Log Format
+********************************
+This page details schema v0.1 for a unified benchmark log format. This schema will allow easier cross-references with other frameworks/runs, experiment reproduction, data for nightly perf regression, and the separation of logging/visualization efforts.
+
+Log Format Overview
+~~~~~~~~~~~~~~~~~~~
+
+This schema primarily reflects coarse-grained grouping of parameters required for reproduction, so the naming/inclusion of fields within nested json objects may be unstable. We have included some suggestions and examples for propagation of these fields. 
+
++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------+
+| header                | examples                                                                                                                                                                     | category     | notes/justification                                                          |
++=======================+==============================================================================================================================================================================+==============+==============================================================================+
+| timestamp             | 1572282699.6                                                                                                                                                                 | metadata     | indicates when this record is logged                                         |
++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------+
+| schema\_version       | 0.1                                                                                                                                                                          | metadata     | ensure reproducibility as we iterate on this schema                          |
++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------+
+| metadata              | { "docker\_tag":"gcr.io/.../0a680", ... }                                                                                                                                    | metadata     | ``docker_tag`` is required                                                   |
++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------+
+| workload              | resnet-18                                                                                                                                                                    | workload     | name of workload                                                             |
++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------+
+| workload\_args        | {“input\_name”: "Input3", “input\_shape”: [list\_of\_shape], “data\_layout”: NHCW}                                                                                           | workload     |                                                                              |
++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------+
+| workload\_metadata    | {"class": "vision","doc\_url": "``https://github.com/.../README.md``", "opset": 7,"type": "body\_analysis","url": "``https://onnxzoo...ferplus.tar.gz``", "md5": "07fc7..."} | workload     | source of workload                                                           |
++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------+
+| engine                | tvm / onnx-runtime                                                                                                                                                           | compiler     |                                                                              |
++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------+
+| engine\_version       | 0.5 / 996cf30e8d54b4bf58f0c9950475f47bba7e2c7e                                                                                                                               | compiler     | include either version or SHA, or both in the format "0.5:996cf3..."         |
++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------+
+| engine\_config        | {“llvm”: “llvm-8”, “nvcc”: 10.1, "accelerator": "MLAS"}                                                                                                                      | compiler     | fields are optionally specified                                              |
 
 Review comment:
   s/engine_config/tvm_dependency_configuration/ ? 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services