Commit 9a7c517
Silence batch_initial_conditions warnings in optimize_acqf_mixed_alternating (#2749)
Summary:
We were getting a bunch of warnings due to `raw_samples` and `batch_initial_conditions` not matching, despite the underlying code behaving correctly. Updated the code to avoid unnecessary warnings. This change eliminates 74 warnings in TestOptimizeAcqfMixed.
Before:
<img width="854" alt="Screenshot 2025-02-18 at 6 36 49 PM" src="https://github.com/user-attachments/assets/eec54ade-14e7-4a97-a474-2d9320858886" />
After:
<img width="853" alt="Screenshot 2025-02-18 at 6 37 03 PM" src="https://github.com/user-attachments/assets/0052e9c9-5afb-490e-aa85-b8450d5d3846" />
Pull Request resolved: #2749
Reviewed By: dme65
Differential Revision: D69826047
Pulled By: saitcakmak
fbshipit-source-id: ffb20ff4306523c016a377a28af8ac1c767141141 parent 052d0d8 commit 9a7c517
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| |||
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| 138 | + | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| 536 | + | |
536 | 537 | | |
537 | 538 | | |
538 | 539 | | |
| |||
0 commit comments