Skip to content

Conversation

@areusch
Copy link
Contributor

@areusch areusch commented Jan 7, 2021

Follow-on to #7197 and #6964, and fix #7207.

DebugRuntime used to represent runtimes as doubles but in microseconds. An unintentionally merged part of #6964 migrated the timing parts to use seconds, but the display parts continued to use microseconds. This patch completes the migration and adds a test. We don't have to migrate this, but it's weird to me to store runtime in double, but not store it in seconds. At least, the units should be made clear in the code.

@areusch
Copy link
Contributor Author

areusch commented Jan 7, 2021

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Andrew!

@jcf94
Copy link
Contributor

jcf94 commented Jan 8, 2021

Thanks!

@jcf94 jcf94 merged commit 4911a08 into apache:main Jan 8, 2021
tkonolige pushed a commit to tkonolige/incubator-tvm that referenced this pull request Jan 11, 2021
apache#7227)

* Add FrontendTestModule, a Module which can have Python functions.

* fix units and use of scientific notation in debug_runtime variable names

* remaining updates to formalize debug_runtime returns time in sec

* Add test for debug runtime output

* black format

* git-clang-format

* pylint
masahi pushed a commit to masahi/tvm that referenced this pull request Jan 14, 2021
apache#7227)

* Add FrontendTestModule, a Module which can have Python functions.

* fix units and use of scientific notation in debug_runtime variable names

* remaining updates to formalize debug_runtime returns time in sec

* Add test for debug runtime output

* black format

* git-clang-format

* pylint
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Jan 20, 2021
apache#7227)

* Add FrontendTestModule, a Module which can have Python functions.

* fix units and use of scientific notation in debug_runtime variable names

* remaining updates to formalize debug_runtime returns time in sec

* Add test for debug runtime output

* black format

* git-clang-format

* pylint
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jan 21, 2021
apache#7227)

* Add FrontendTestModule, a Module which can have Python functions.

* fix units and use of scientific notation in debug_runtime variable names

* remaining updates to formalize debug_runtime returns time in sec

* Add test for debug runtime output

* black format

* git-clang-format

* pylint
electriclilies pushed a commit to electriclilies/tvm that referenced this pull request Feb 18, 2021
apache#7227)

* Add FrontendTestModule, a Module which can have Python functions.

* fix units and use of scientific notation in debug_runtime variable names

* remaining updates to formalize debug_runtime returns time in sec

* Add test for debug runtime output

* black format

* git-clang-format

* pylint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Get wrong measure time in graph debug runtime

4 participants