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

Fix dtype in continuous comp rep #415

Merged
merged 4 commits into from
Nov 20, 2024
Merged

Conversation

AVHopp
Copy link
Collaborator

@AVHopp AVHopp commented Oct 30, 2024

This PR fixes the DType used when calculating the computational representation in a continuous space.

Currently, the dtype is not using any of our flags but infers it from the provided data, always yielding a float64 representation. This causes troubles down the line, specifically for continuous constraints: These then turn out to have bounds in float64 while other parts are in float32, making them unusable.

@AVHopp AVHopp added bug Something isn't working enhancement Expand / change existing functionality labels Oct 30, 2024
@AVHopp AVHopp self-assigned this Oct 30, 2024
tox.ini Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
baybe/searchspace/continuous.py Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
@AVHopp AVHopp force-pushed the fix/dtype_continuous_comp_rep branch from c716922 to 8dae590 Compare November 7, 2024 11:18
@AVHopp AVHopp force-pushed the fix/dtype_continuous_comp_rep branch from 8dae590 to a25196c Compare November 7, 2024 12:47
@AVHopp
Copy link
Collaborator Author

AVHopp commented Nov 11, 2024

@AdrianSosic awaiting your approval/review

Copy link
Collaborator

@AdrianSosic AdrianSosic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx 🚀 🙃

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
@AVHopp AVHopp force-pushed the fix/dtype_continuous_comp_rep branch from a25196c to fdc55e5 Compare November 20, 2024 10:43
@AVHopp AVHopp merged commit b402c74 into main Nov 20, 2024
11 checks passed
@AVHopp AVHopp deleted the fix/dtype_continuous_comp_rep branch November 20, 2024 11:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working enhancement Expand / change existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants