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

Refactor AutoTuner as Python module #2487

Merged

Conversation

eszpotanski
Copy link
Contributor

This PR changes the structure of AutoTuner, so it can be used as a Python module. It also move part of the code (not closely related to tuning) to separate utils file.

tools/AutoTuner/pyproject.toml Show resolved Hide resolved
tools/AutoTuner/src/autotuner/utils.py Outdated Show resolved Hide resolved
tools/AutoTuner/src/autotuner/utils.py Show resolved Hide resolved
tools/AutoTuner/test/smoke_test_algo_eval.py Show resolved Hide resolved
tools/AutoTuner/pyproject.toml Outdated Show resolved Hide resolved
@eszpotanski eszpotanski force-pushed the eszpot/autotuner-refactoring branch 2 times, most recently from 256ce2d to fe29652 Compare November 4, 2024 10:12
@eszpotanski eszpotanski requested a review from luarss November 4, 2024 10:15
Copy link
Contributor

@luarss luarss left a comment

Choose a reason for hiding this comment

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

Approval is pending smoke test re-enablement @vvbandeira fyi.

@eszpotanski No action needed for now, for this PR

@jeffng-or
Copy link
Contributor

jeffng-or commented Nov 22, 2024

FWIW, I've run the PR through some local quick testing and it appears to work for the non-cluster tune and sweep mode tests that I ran (not exhaustive, of course). I've also started to apply my own re-factoring on top of this PR, so that I can send those up for review after this PR gets merged.

@vvbandeira vvbandeira added the autotuner Flow autotuner label Jan 15, 2025
@vvbandeira vvbandeira enabled auto-merge January 28, 2025 17:30
@vvbandeira vvbandeira disabled auto-merge January 28, 2025 17:30
@vvbandeira
Copy link
Member

@eszpotanski
There's a merge conflict that must be resolved. I was able to fix it locally, but I cannot push to this PR due to lack of permission.
Can you push a merge fix or allow maintainers to change your PR so I can add commits to it?

@vvbandeira vvbandeira enabled auto-merge January 28, 2025 17:51
auto-merge was automatically disabled January 29, 2025 10:55

Head branch was pushed to by a user without write access

@eszpotanski eszpotanski force-pushed the eszpot/autotuner-refactoring branch from fe29652 to dc6be33 Compare January 29, 2025 10:55
@vvbandeira vvbandeira enabled auto-merge January 29, 2025 12:48
@vvbandeira vvbandeira merged commit 97497e0 into The-OpenROAD-Project:master Jan 29, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autotuner Flow autotuner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants