Closed AVHopp closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.98%. Comparing base (
3ca48d0
) to head (c49de8f
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@saitcakmak has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@saitcakmak has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@saitcakmak has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@saitcakmak merged this pull request in pytorch/botorch@81c16ffcb62d6cf0c597d13d6642400c004e7ae3.
Motivation
This PR removes the
as_tensor
argument of theset_tensors_from_ndarray_1d
function innumpy_utils.py
.The reason for this change is that the previous implementation
float32
precision, this always transformed floats intofloat64
precisionThis change was discussed previously with @Balandat and @esantorella in #2596 .
Have you read the Contributing Guidelines on pull requests?
Yes, I have read it.
Test Plan
I checked the format using
ufmt format .
and verified that all tests are still running usingpytest -ra
.Related PRs
This PR is related to #2597 and #2596, fixing a similar issue (
float32
being broken by some internal calculations).