pytorch / botorch

Bayesian optimization in PyTorch
https://botorch.org/
MIT License
3.11k stars 406 forks source link

Fix error in decoupled_mobo tutorial due to torch/numpy issues #2550

Closed Balandat closed 2 months ago

Balandat commented 2 months ago

This started failing in CI recently, presumably due to some incompatibilities between numpy and torch as used within np.cumsum introduced in recent torch commits. This converts the tensors in question to np arrays to avoid this issue.

facebook-github-bot commented 2 months ago

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

facebook-github-bot commented 2 months ago

@Balandat merged this pull request in pytorch/botorch@02bb565e4789a9f5b2353cdba345cabe9e088a9f.