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

Fix posterior with observation noise in batched MTGP models #2782

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

Conversation

saitcakmak
Copy link
Contributor

Summary: Posterior call with observation_noise=True would fail with fully Bayesian MTGP model before this change. This diff updates the logic that applies the noise to take batch shape into account.

Differential Revision: D71643890

…ytorch#2781)

Summary:

This is consistent with the fully Bayesian STGP models and ensures that any other module calls within `posterior` also receive the expanded inputs.

Differential Revision: D71643889
Summary: Posterior call with `observation_noise=True` would fail with fully Bayesian MTGP model before this change. This diff updates the logic that applies the noise to take batch shape into account.

Differential Revision: D71643890
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 21, 2025
@facebook-github-bot
Copy link
Contributor

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

Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.99%. Comparing base (bc4b0c6) to head (303fbd2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2782   +/-   ##
=======================================
  Coverage   99.99%   99.99%           
=======================================
  Files         202      202           
  Lines       18517    18518    +1     
=======================================
+ Hits        18516    18517    +1     
  Misses          1        1           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants