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

Handle Cholesky errors when fitting a fully bayesian model #1507

Closed
wants to merge 1 commit into from

Conversation

saitcakmak
Copy link
Contributor

Summary: Adds a _psd_safe_pyro_sample to catch LinAlgErrors that happen in pyro.sample, and retries with increased jitter. Modeled after linear operator's psd_safe_cholesky.

Differential Revision: D41405255

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Nov 18, 2022
@facebook-github-bot
Copy link
Contributor

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

@codecov
Copy link

codecov bot commented Nov 18, 2022

Codecov Report

Merging #1507 (1049922) into main (c7ed6ab) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main     #1507   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          149       149           
  Lines        12888     12904   +16     
=========================================
+ Hits         12888     12904   +16     
Impacted Files Coverage Δ
botorch/models/fully_bayesian.py 100.00% <100.00%> (ø)
botorch/models/fully_bayesian_multitask.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

)

Summary:
Pull Request resolved: pytorch#1507

X-link: facebook/Ax#1271

Adds a `_psd_safe_pyro_mvn_sample` to catch LinAlgErrors that happen in `pyro.sample`, and retries with increased jitter. Modeled after linear operator's `psd_safe_cholesky`.

Differential Revision: D41405255

fbshipit-source-id: bddd971e0f27ee14b3674dfa80799871eea95515
saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Nov 19, 2022
…1507)

Summary:
X-link: pytorch/botorch#1507

Pull Request resolved: facebook#1271

Adds a `_psd_safe_pyro_mvn_sample` to catch LinAlgErrors that happen in `pyro.sample`, and retries with increased jitter. Modeled after linear operator's `psd_safe_cholesky`.

Differential Revision: D41405255

fbshipit-source-id: f56cab6faf07067cd89fe1f48c2be0e7bca30dda
@facebook-github-bot
Copy link
Contributor

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

facebook-github-bot pushed a commit to facebook/Ax that referenced this pull request Nov 19, 2022
Summary:
X-link: pytorch/botorch#1507

Pull Request resolved: #1271

Adds a `_psd_safe_pyro_mvn_sample` to catch LinAlgErrors that happen in `pyro.sample`, and retries with increased jitter. Modeled after linear operator's `psd_safe_cholesky`.

Reviewed By: Balandat

Differential Revision: D41405255

fbshipit-source-id: 6fea8f1a953d2ad8ec5c0ca2ca8c13732f729879
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