-
Notifications
You must be signed in to change notification settings - Fork 430
be explicit about task feature in TL #2918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This pull request was exported from Phabricator. Differential Revision: D77905821 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2918 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 212 212
Lines 19818 19818
=========================================
Hits 19818 19818 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary: X-link: facebook/Ax#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating. Reviewed By: saitcakmak Differential Revision: D77905821
6c6134c
to
943146b
Compare
Summary: X-link: pytorch/botorch#2918 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating. Reviewed By: saitcakmak Differential Revision: D77905821
Summary: X-link: pytorch/botorch#2918 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating. Reviewed By: saitcakmak Differential Revision: D77905821
This pull request was exported from Phabricator. Differential Revision: D77905821 |
Summary: Pull Request resolved: pytorch#2918 X-link: facebook/Ax#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating. Reviewed By: saitcakmak Differential Revision: D77905821
943146b
to
7abde84
Compare
Summary: X-link: pytorch/botorch#2918 Pull Request resolved: facebook#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating. Reviewed By: saitcakmak Differential Revision: D77905821
Summary: X-link: facebook/Ax#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating. Reviewed By: saitcakmak Differential Revision: D77905821
7abde84
to
5df5641
Compare
Summary: X-link: pytorch/botorch#2918 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating. Reviewed By: saitcakmak Differential Revision: D77905821
Summary: X-link: pytorch/botorch#2918 Pull Request resolved: facebook#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating. Reviewed By: saitcakmak Differential Revision: D77905821
This pull request was exported from Phabricator. Differential Revision: D77905821 |
Summary: Pull Request resolved: pytorch#2918 X-link: facebook/Ax#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating. Reviewed By: saitcakmak Differential Revision: D77905821
5df5641
to
2358e05
Compare
Summary: X-link: facebook/Ax#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
2358e05
to
8c8f5a8
Compare
This pull request was exported from Phabricator. Differential Revision: D77905821 |
Summary: X-link: pytorch/botorch#2918 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
Summary: X-link: pytorch/botorch#2918 Pull Request resolved: facebook#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
This pull request was exported from Phabricator. Differential Revision: D77905821 |
Summary: Pull Request resolved: pytorch#2918 X-link: facebook/Ax#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
8c8f5a8
to
68e334d
Compare
Summary: X-link: pytorch/botorch#2918 Pull Request resolved: facebook#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
This pull request was exported from Phabricator. Differential Revision: D77905821 |
Summary: Pull Request resolved: pytorch#2918 X-link: facebook/Ax#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
68e334d
to
2d47834
Compare
Summary: X-link: pytorch/botorch#2918 Pull Request resolved: facebook#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
This pull request was exported from Phabricator. Differential Revision: D77905821 |
Summary: Pull Request resolved: pytorch#2918 X-link: facebook/Ax#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
2d47834
to
05a22af
Compare
Summary: Pull Request resolved: pytorch#2918 X-link: facebook/Ax#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
This pull request was exported from Phabricator. Differential Revision: D77905821 |
05a22af
to
3cdbd36
Compare
Summary: X-link: pytorch/botorch#2918 Pull Request resolved: facebook#4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821
Summary: X-link: pytorch/botorch#2918 Pull Request resolved: #4021 Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating. However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250 This diff adds the task feature to via a new Transform. This significantly simplifies task feature handling across Adapter methods. Reviewed By: saitcakmak Differential Revision: D77905821 fbshipit-source-id: 5b71c1eba664850f5e1c7d623327d63b9d633d40
This pull request has been merged in 223656a. |
Summary:
X-link: facebook/Ax#4021
Previously, the TL adapter added a task feature to
SearchSpaceDigest.task_features
, but not toSearchSpaceDigest.bounds
orSearchSpaceDigest.feature_names
. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating.However, there was a bug when using
Normalize
that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250This diff adds the task feature to
SearchSpaceDigest.bounds
,SearchSpaceDigest.feature_names
, andMultiTaskDataset.feature_names
in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating.Reviewed By: saitcakmak
Differential Revision: D77905821