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

Add an option to override ModelSpec.model_key #2726

Closed
wants to merge 1 commit into from

Conversation

saitcakmak
Copy link
Contributor

Summary:
Most of our models now utilize MBM, which can represent many different models using the same Models.BOTORCH_MODULAR. Being able to overwrite the default model key "BoTorch" will allow us to be more expressive about what model was used to generate a given candidate.

Follow-up diff will utilize this to require unique model key for each ModelSpec in a GenerationNode, which will ensure identifiability when multiple MBM models are used with model selection.

Differential Revision: D61984169

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 29, 2024
@facebook-github-bot
Copy link
Contributor

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

@codecov-commenter
Copy link

codecov-commenter commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.42%. Comparing base (ca907cb) to head (4f44c89).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2726   +/-   ##
=======================================
  Coverage   95.41%   95.42%           
=======================================
  Files         490      490           
  Lines       47862    47872   +10     
=======================================
+ Hits        45669    45681   +12     
+ Misses       2193     2191    -2     

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

Summary:
Pull Request resolved: facebook#2726

Most of our models now utilize MBM, which can represent many different models using the same Models.BOTORCH_MODULAR. Being able to overwrite the default model key "BoTorch" will allow us to be more expressive about what model was used to generate a given candidate.

Follow-up diff will utilize this to require unique model key for each ModelSpec in a GenerationNode, which will ensure identifiability when multiple MBM models are used with model selection.

Differential Revision: D61984169
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 1f6661a.

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