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

Deprecate gp_sampling module in favor of pathwise sampling #2432

Closed
wants to merge 2 commits into from

Conversation

saitcakmak
Copy link
Contributor

Summary: GP sampling functionality has been superseded by pathwise sampling, which has been in BoTorch for quite some time now. Marking it for deprecation in v0.13.

Differential Revision: D59815658

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

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

Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.98%. Comparing base (d14977c) to head (339daab).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2432   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files         189      189           
  Lines       16675    16696   +21     
=======================================
+ Hits        16673    16694   +21     
  Misses          2        2           

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

@facebook-github-bot
Copy link
Contributor

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

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Jul 18, 2024
)

Summary:
Pull Request resolved: pytorch#2432

GP sampling functionality has been superseded by pathwise sampling, which has been in BoTorch for quite some time now. Marking it for deprecation in v0.13.

All existing usage has been replaced with `get_matheron_path_model`.

Differential Revision: D59815658
saitcakmak and others added 2 commits July 18, 2024 17:10
…pytorch#2435)

Summary:
Pull Request resolved: pytorch#2435

Out of the box, pathwise sampling code does not produce outputs that conform to BoTorch modeling conventions. This adds a helper that produces a Matheron path and wraps it in a `GenericDeterministicModel` using a helper that reshapes the path outputs to mimic the expected behavior from the model's posterior.

This will offer a straightforward replacement of `get_gp_samples`, which is being deprecated.

Differential Revision: D59941730
)

Summary:
Pull Request resolved: pytorch#2432

GP sampling functionality has been superseded by pathwise sampling, which has been in BoTorch for quite some time now. Marking it for deprecation in v0.13.

All existing usage has been replaced with `get_matheron_path_model`.

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 53d8f88.

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.

2 participants