pytorch / botorch

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

Unflakify test_make_nonlinear_constraints #2606

Closed saitcakmak closed 3 weeks ago

saitcakmak commented 3 weeks ago

Summary: The equality checks occasionally fail in OSS CI (e.g., https://github.com/pytorch/botorch/actions/runs/11616160498/job/32348449332). Using assertAllClose should resolve it.

Differential Revision: D65286067

facebook-github-bot commented 3 weeks ago

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

facebook-github-bot commented 3 weeks ago

This pull request has been merged in pytorch/botorch@9ebead46d47f24fdf620b106bcb503006b5e173f.