Commit 340ac8a
Minor tweak to
Summary:
Pull Request resolved: #1346
Unsqueeze before evaluating `model.posterior` in `MARS.set_baseline_Y` to avoid creating large matrices. This helps reduce the memory overhead with large models and helps avoid OOMs.
Reviewed By: Balandat
Differential Revision: D38648419
fbshipit-source-id: c4bd5646e53625f640f545b9a33979d8458c885aMARS.set_baseline_Y to reduce memory overhead (#1346)1 parent 7370224 commit 340ac8a
File tree
1 file changed
+2
-2
lines changed- botorch/acquisition/multi_objective
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
508 | | - | |
| 508 | + | |
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
| 581 | + | |
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| |||
0 commit comments