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

Expand trials_as_df to support multiple GenerationNodes in a single trial #2577

Closed
wants to merge 1 commit into from

Conversation

mgarrard
Copy link
Contributor

Summary:
This diff fixes a few things:
(1) Recently we expanded generation strategy to be able to support generation from multiple generation nodes for a single batch trial. However trials as df wouldn't reflect that multiple nodes or models was used for a specific trial. This diff fixes that by changes the values of the Step/Node and Model(s) column from single strs to list of strings

(2) Previously manual trials were being forgotten as they were not associated with a node, so the df was returning none. Now we return a row for manually added trials with Step/Node and Models == Manual. (Or manual would be in the list if multple nodes were used)

Differential Revision: D59738292

…rial

Summary:
This diff fixes a few things:
(1) Recently we expanded generation strategy to be able to support generation from multiple generation nodes for a single batch trial. However trials as df wouldn't reflect that multiple nodes or models was used for a specific trial. This diff fixes that by changes the values of the Step/Node and Model(s) column from single strs to list of strings

(2) Previously manual trials were being forgotten as they were not associated with a node, so the df was returning none. Now we return a row for manually added trials with Step/Node and Models == Manual. (Or manual would be in the list if multple nodes were used)

Differential Revision: D59738292
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 15, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D59738292

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.23%. Comparing base (95881f4) to head (1884db0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2577      +/-   ##
==========================================
- Coverage   95.23%   95.23%   -0.01%     
==========================================
  Files         489      489              
  Lines       47664    47643      -21     
==========================================
- Hits        45392    45371      -21     
  Misses       2272     2272              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in aeb8d79.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants