Skip to content

Swapping benchmarks to use VMVX instead of VMLA. - #5899

Merged
hanhanW merged 1 commit into
mainfrom
benvanik-swap-benchmarks
May 14, 2021
Merged

hanhanW merged 1 commit into
mainfrom
benvanik-swap-benchmarks

Conversation

@benvanik

Copy link
Copy Markdown
Collaborator

VMVX MobileBERT is disabled for now until it can be sped up.

@benvanik benvanik added cleanup 🧹 codegen/vmvx VMVX (IREE VM) code generation compiler backend labels May 14, 2021
@benvanik
benvanik requested a review from hanhanW May 14, 2021 17:46
@google-cla google-cla Bot added the cla: yes label May 14, 2021
@benvanik

Copy link
Copy Markdown
Collaborator Author

@hanhanW I don't know how the benchmark infra works - is this correct?

@hanhanW hanhanW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@hanhanW I don't know how the benchmark infra works - is this correct?

The change in config files looks good, but it will need me to run mako update commands. Let me land the PR and I will make sure they are updated before merging?

Comment thread build_tools/mako/configuration.py Resolved
@benvanik

Copy link
Copy Markdown
Collaborator Author

@hanhanW I don't know how the benchmark infra works - is this correct?

The change in config files looks good, but it will need me to run mako update commands. Let me land the PR and I will make sure they are updated before merging?

so you want to take this over this PR? (that works for me! :)

@hanhanW

hanhanW commented May 14, 2021

Copy link
Copy Markdown
Contributor

@hanhanW I don't know how the benchmark infra works - is this correct?

The change in config files looks good, but it will need me to run mako update commands. Let me land the PR and I will make sure they are updated before merging?

so you want to take this over this PR? (that works for me! :)

Yes, I can take it over. I can prepare the PR based on the configuration you have. One question, do we want to track both singled threaded and 3-threaded for vmvx backend?

@benvanik
benvanik force-pushed the benvanik-swap-benchmarks branch from d70b564 to 901b564 Compare May 14, 2021 18:17
@benvanik

Copy link
Copy Markdown
Collaborator Author

@hanhanW I don't know how the benchmark infra works - is this correct?

The change in config files looks good, but it will need me to run mako update commands. Let me land the PR and I will make sure they are updated before merging?

so you want to take this over this PR? (that works for me! :)

Yes, I can take it over. I can prepare the PR based on the configuration you have. One question, do we want to track both singled threaded and 3-threaded for vmvx backend?

cool - updated with the right key.

I'm not too interested in single threaded - it's slow enough without handicapping it :)
(it should eventually be faster than vmla, but it requires work #5880)

@hanhanW hanhanW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just one nit, then I can help land it.

note: it's not swapping benchmarks to VMVX. This will stop tracking VMLA, and add a new metric/plot for VMVX. The track for VMVX won't inherit the performance data from VMLA.

Comment thread build_tools/mako/configuration.py Resolved
@benvanik
benvanik force-pushed the benvanik-swap-benchmarks branch from 901b564 to c047f2c Compare May 14, 2021 18:37
@benvanik

Copy link
Copy Markdown
Collaborator Author

Just one nit, then I can help land it.

note: it's not swapping benchmarks to VMVX. This will stop tracking VMLA, and add a new metric/plot for VMVX. The track for VMVX won't inherit the performance data from VMLA.

👍 they are totally different beasts so I think cutting over is good

@hanhanW

hanhanW commented May 14, 2021

Copy link
Copy Markdown
Contributor

Triggered a benchmark run: https://buildkite.com/iree/iree-android-benchmark/builds/2568

@benvanik
benvanik marked this pull request as ready for review May 14, 2021 18:59
Comment thread build_tools/mako/configuration.py Resolved
VMVX MobileBERT is disabled for now until it can be sped up.
@benvanik
benvanik force-pushed the benvanik-swap-benchmarks branch from c047f2c to 33736f3 Compare May 14, 2021 21:41
@benvanik

Copy link
Copy Markdown
Collaborator Author

updated
(getting close to landing vmla removal - the benchmarks will break without it, so would be good to land this)

@hanhanW

hanhanW commented May 14, 2021

Copy link
Copy Markdown
Contributor

Triggered another benchmark run: https://buildkite.com/iree/iree-android-benchmark/builds/2570

Once it's passed, I'll run update commands and land the PR.

@hanhanW

hanhanW commented May 14, 2021

Copy link
Copy Markdown
Contributor

FYI, it takes 19.5 sec to finish MobileNetV2 on Pixel 4. I'm going to run update commands and land the PR.

@hanhanW
hanhanW enabled auto-merge (squash) May 14, 2021 22:08
@hanhanW
hanhanW merged commit b2fc28b into main May 14, 2021
@hanhanW
hanhanW deleted the benvanik-swap-benchmarks branch May 14, 2021 22:12
@benvanik

Copy link
Copy Markdown
Collaborator Author

Thanks @hanhanW!

@hanhanW hanhanW mentioned this pull request May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup 🧹 codegen/vmvx VMVX (IREE VM) code generation compiler backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants