Skip to content

Conversation

@kayween
Copy link
Contributor

@kayween kayween commented Oct 1, 2025

Summary: Raise errors for unsupported HSS functionalities.

Differential Revision: D83626637

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Oct 1, 2025
@meta-codesync
Copy link

meta-codesync bot commented Oct 1, 2025

@kayween has exported this pull request. If you are a Meta employee, you can view the originating Diff in D83626637.

kayween added a commit to kayween/Ax that referenced this pull request Oct 1, 2025
facebook#4374)

Summary:

Raise errors for unsupported HSS functionalities.

Differential Revision: D83626637
@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.26%. Comparing base (ffa538e) to head (c5dd49c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4374      +/-   ##
==========================================
- Coverage   96.26%   96.26%   -0.01%     
==========================================
  Files         564      564              
  Lines       58084    58098      +14     
==========================================
+ Hits        55915    55928      +13     
- Misses       2169     2170       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

kayween added a commit to kayween/Ax that referenced this pull request Oct 2, 2025
facebook#4374)

Summary:

Raise errors for unsupported HSS functionalities.

Differential Revision: D83626637
facebook#4374)

Summary:

Raise errors for unsupported HSS functionalities. Those functionalities require long-term planning. So the main motivation here is to fail them explicitly as opposed to let things fail silently, which might lead to sneaky bugs.

1. Error out when a hierarchical choice parameter has >= 3 different values
    -  Hierarchical parameters with >= 3 values will become float-valued after normalization. But the upstream BoTorch models do not support float-valued hierarchical parameters yet.
    - `OneHot` does not support hierarchical parameters yet. But unordered hierarchical choice parameters (which necessarily has >= 3 values) will go through `OneHot`.

1. Error out when there is a float-valued hierarchical parameters, because they are currently skipped by `ChoiceToNumericalChoice`.

Differential Revision: D83626637
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants