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

Fix usage of batch shape for warp transform #1994

Closed
wants to merge 3 commits into from

Conversation

saitcakmak
Copy link
Contributor

Summary: Follows up pytorch/botorch#2109 to fix potential for erroneous usage.

Differential Revision: D51369374

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

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

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

Follows up pytorch/botorch#2109 to fix potential for erroneous usage.

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

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

@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 (aa5e700) 94.48%.

❗ Current head aa5e700 differs from pull request most recent head 24455d9. Consider uploading reports for the commit 24455d9 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    #1994   +/-   ##
=======================================
  Coverage   94.48%   94.48%           
=======================================
  Files         460      460           
  Lines       44022    44027    +5     
=======================================
+ Hits        41594    41601    +7     
+ Misses       2428     2426    -2     

☔ 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 16, 2023
Summary:

Follows up pytorch/botorch#2109 to fix potential for erroneous usage.

Reviewed By: Balandat

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

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

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
Summary:

Follows up pytorch/botorch#2109 to fix potential for erroneous usage.

Reviewed By: Balandat

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 481d749.

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