Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use correct precision in botorch wrapper #417

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

AVHopp
Copy link
Collaborator

@AVHopp AVHopp commented Nov 5, 2024

This PR enables the use of DTypeFloatTorch in the BoTorch Wrapper.

Previously, this wrapper converted anything into float64 precision. This can cause troubles an imprecision during the corresponding forward call in that function.

Note that this is one of the fixes required for GPU support, but since it is an issue on its own, I decided to already create this mini PR.

@AVHopp AVHopp added the bug Something isn't working label Nov 5, 2024
@AVHopp AVHopp self-assigned this Nov 5, 2024
@AVHopp AVHopp force-pushed the fix/dtype_in_botorch_wrapper branch from fb03199 to 2de0bf1 Compare November 11, 2024 08:19
@AVHopp AVHopp force-pushed the fix/dtype_in_botorch_wrapper branch from 2de0bf1 to 4fe0f5e Compare November 11, 2024 12:35
@AVHopp AVHopp merged commit 3b7c1f2 into main Nov 11, 2024
9 of 11 checks passed
@AVHopp AVHopp deleted the fix/dtype_in_botorch_wrapper branch November 11, 2024 14:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants