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

[tuner] Invoke iree-benchmark-module without calling bash scripts #99

Merged
merged 16 commits into from
Aug 22, 2024

Conversation

RattataKing
Copy link
Contributor

@RattataKing RattataKing commented Aug 20, 2024

This PR reduces external dependencies by removing unnecessary bash files

  • compile_model -> removes top level bash that previously parsed inputs for compile_base.sh and echoed results.
  • benchmark_dispatch and benchmark_model-> invokes iree-benchmark-module directly, move result handling to libtuner.py

@RattataKing RattataKing requested a review from kuhar August 20, 2024 22:24
Copy link
Member

@kuhar kuhar left a comment

Choose a reason for hiding this comment

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

I'm happy to see these bash scripts slowly go away

tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/test_libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/libtuner.py Outdated Show resolved Hide resolved
tuning/punet_autotune.py Outdated Show resolved Hide resolved
tuning/test_libtuner.py Outdated Show resolved Hide resolved
tuning/test_libtuner.py Outdated Show resolved Hide resolved
tuning/punet_autotune.py Outdated Show resolved Hide resolved
@kuhar kuhar merged commit ff47eab into main Aug 22, 2024
2 checks passed
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