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

Hotfix/polytopesampler seed #1968

Closed
wants to merge 2 commits into from

Conversation

jduerholt
Copy link
Contributor

Motivation

During bugfixing, I came around the issue that setting a seed in get_polytope_samples is not leading to the same samples when called several times with the same seed. This PR fixes it.

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

Unit tests.

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

codecov bot commented Aug 2, 2023

Codecov Report

Merging #1968 (423f800) into main (85cec4c) will not change coverage.
The diff coverage is 100.00%.

❗ Current head 423f800 differs from pull request most recent head b4070d5. Consider uploading reports for the commit b4070d5 to get more accurate results

@@            Coverage Diff            @@
##              main     #1968   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          178       178           
  Lines        15748     15748           
=========================================
  Hits         15748     15748           
Files Changed Coverage Δ
botorch/utils/sampling.py 100.00% <100.00%> (ø)

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

@facebook-github-bot
Copy link
Contributor

@Balandat has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@Balandat Balandat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the fix!

@facebook-github-bot
Copy link
Contributor

@Balandat merged this pull request in 5abab4d.

@jduerholt jduerholt deleted the hotfix/polytopesampler_seed branch August 2, 2023 19:58
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. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants