Skip to content

Add Optimizer Sampler #135

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add Optimizer Sampler #135

wants to merge 4 commits into from

Conversation

Neonkraft
Copy link
Contributor

Adds the OneShotOptimizerSampler class, which can be used to sample a new optimizer, i.e., Profile.

This class is incomplete.

  • Pruning has to be dealt with
  • Tests have to be written

There snippet at the bottom which attempts to sample 100 profiles exists only as a sanity test for this class. The class requires more testing.

Since we don't yet know the scope of the experiments we'll run, we'll deal with these items if and when we decide to have BBO search for the optimizer as one of our experiments.

@Neonkraft Neonkraft requested a review from abhash-er August 19, 2024 17:20
self,
epochs: int,
is_partial_connection: bool = False,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I understand that this is cleaner but it may be difficult to read. I think, we need doctrings over here for better readability of what options are available from this class.

Copy link
Contributor Author

@Neonkraft Neonkraft Aug 23, 2024

Choose a reason for hiding this comment

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

Agreed. We have to also standardize the parameter naming.

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