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

[Optuna Sweeper Plugin]: Add user attributes to Optuna trial #2718

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

domvwt
Copy link

@domvwt domvwt commented Jul 18, 2023

Motivation

Add capability to log additional attributes against Optuna trial runs.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

This is a draft PR, tests are not yet implemented (if applicable).

Related Issues and PRs

Issue: #2293

TODO

  • Update code
  • Write tests
  • Update documentation

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 18, 2023
@domvwt domvwt changed the title Allow additional attributes in trial result [Optuna Sweeper Plugin]: Add user attributes to Optuna trial Jul 18, 2023
@Jasha10
Copy link
Collaborator

Jasha10 commented Jul 20, 2023

@domvwt could you please give some motivation for this PR? What use case does this enable? What is the change in API that is exposed to users?

@domvwt
Copy link
Author

domvwt commented Jul 25, 2023

Hi @Jasha10, the motivation here is to allow users to define User Attributes on Optuna trials. There is currently no way to do this but the capability has been requested in issue #2293.

I want to be able to log additional performance metrics for trained models and other metadata for audit purposes, such as the dataset used and library versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants