Skip to content
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

Don't call dataset.X in input transform constructors #1993

Closed
wants to merge 2 commits into from

Conversation

saitcakmak
Copy link
Contributor

Summary:
dataset.X will error out if using a MultiTaskDataset with heterogeneous feature sets. Updated the code to extract d from feature_names instead.

For Warp input constructor, removed the batch_shape argument. In Ax, we don't have batched inputs for models, so this would never get used.

Differential Revision: D51362512

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 15, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51362512

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Nov 15, 2023
Summary:

`dataset.X` will error out if using a `MultiTaskDataset` with heterogeneous feature sets. Updated the code to extract `d` from `feature_names` instead.

For Warp input constructor, removed the `batch_shape` argument. In Ax, we don't have batched inputs for models, so this would never get used.

Differential Revision: D51362512
@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (3985791) 94.48% compared to head (f7d3be2) 94.49%.

❗ Current head f7d3be2 differs from pull request most recent head ac71fa5. Consider uploading reports for the commit ac71fa5 to get more accurate results

Files Patch % Lines
ax/core/generation_strategy_interface.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1993   +/-   ##
=======================================
  Coverage   94.48%   94.49%           
=======================================
  Files         460      460           
  Lines       44022    44023    +1     
=======================================
+ Hits        41594    41598    +4     
+ Misses       2428     2425    -3     

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

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Nov 15, 2023
Summary:

`dataset.X` will error out if using a `MultiTaskDataset` with heterogeneous feature sets. Updated the code to extract `d` from `feature_names` instead.

For Warp input constructor, removed the `batch_shape` argument. In Ax, we don't have batched inputs for models, so this would never get used.

Differential Revision: D51362512
saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Nov 16, 2023
Summary:

`dataset.X` will error out if using a `MultiTaskDataset` with heterogeneous feature sets. Updated the code to extract `d` from `feature_names` instead.

For Warp input constructor, removed the `batch_shape` argument. In Ax, we don't have batched inputs for models, so this would never get used.

Differential Revision: D51362512
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51362512

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Nov 16, 2023
Summary:

`dataset.X` will error out if using a `MultiTaskDataset` with heterogeneous feature sets. Updated the code to extract `d` from `feature_names` instead.

For Warp input constructor, removed the `batch_shape` argument. In Ax, we don't have batched inputs for models, so this would never get used.

Differential Revision: D51362512
Summary:

Fixes:
https://pxl.cl/3PLWk

Differential Revision: D51404881
Summary:

`dataset.X` will error out if using a `MultiTaskDataset` with heterogeneous feature sets. Updated the code to extract `d` from `feature_names` instead.

For Warp input constructor, removed the `batch_shape` argument. In Ax, we don't have batched inputs for models, so this would never get used.

Differential Revision: D51362512
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51362512

saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Nov 16, 2023
Summary:

`dataset.X` will error out if using a `MultiTaskDataset` with heterogeneous feature sets. Updated the code to extract `d` from `feature_names` instead.

For Warp input constructor, removed the `batch_shape` argument. In Ax, we don't have batched inputs for models, so this would never get used.

Differential Revision: D51362512
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 1fe5d57.

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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants