Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VTA] Producing simulation stats in the Relay to VTA inference tutorial #3481

Merged
merged 1 commit into from
Jul 3, 2019

Conversation

tmoreau89
Copy link
Contributor

When running the end to end example, it makes more sense to produce simulator statistics (B of data moved for each type, invocations to GEMM and ALU cores) rather than timing the runs in the simulator which are highly platform dependent and don't give us an idea of performance improvements/regression.

@tmoreau89
Copy link
Contributor Author

@jroesch @weberlo this follows our discussion on Relay to VTA performance profiling

@tmoreau89 tmoreau89 requested review from jroesch and tqchen July 3, 2019 01:22
@tqchen tqchen merged commit 882ae12 into apache:master Jul 3, 2019
timer = m.module.time_evaluator("run", ctx, number=4, repeat=3)
tcost = timer()
# Perform inference and gather execution statistics
# More on: https://docs.tvm.ai/api/python/module.html#tvm.module.Module.time_evaluator
Copy link
Member

Choose a reason for hiding this comment

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

NOTE: we can cross reference rst content in the same document by :any: reference

@tmoreau89 tmoreau89 deleted the sim branch July 5, 2019 00:10
wweic pushed a commit to wweic/tvm that referenced this pull request Jul 11, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Jul 11, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jul 11, 2019
tqchen pushed a commit to tqchen/tvm that referenced this pull request Mar 29, 2020
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.

2 participants