pytorch / botorch

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

Add pyre_extensions as a dependency #2572

Closed saitcakmak closed 1 month ago

saitcakmak commented 1 month ago

Pyre extensions offers useful functionality like none_throws and assert_is_instance that can be used to refine the type-hints during runtime. This is a light-weight dependency that can help us improve type-checker friendliness of BoTorch over time.

facebook-github-bot commented 1 month ago

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

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.98%. Comparing base (5053433) to head (75985a1). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2572 +/- ## ======================================= Coverage 99.98% 99.98% ======================================= Files 195 195 Lines 17122 17122 ======================================= Hits 17119 17119 Misses 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

facebook-github-bot commented 1 month ago

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

facebook-github-bot commented 1 month ago

@saitcakmak merged this pull request in pytorch/botorch@806f1832ba426850dd8f144f8212f4ae1dc816b5.