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

User InputDataWarning for dtype warnings #2304

Closed
wants to merge 1 commit into from

Conversation

saitcakmak
Copy link
Contributor

Summary:
This was previously using UserWarning since BoTorchWarning were being ignored when settings.debug was off. This has since been updated and BoTorchWarnings are not ignored by default. All other use cases for this warning already use InputDataWarning.

Related to facebook/Ax#2389

Differential Revision: D56443417

Summary:
This was previously using `UserWarning` since `BoTorchWarning` were being ignored when `settings.debug` was off. This has since been updated and `BoTorchWarning`s are not ignored by default. All other use cases for this warning already use `InputDataWarning`.

Related to facebook/Ax#2389

Differential Revision: D56443417
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 22, 2024
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in cc9e833.

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request May 1, 2024
Summary:
Since pytorch#2304, these warnings use `InputDataWarning`. The current filter does not filter these out: https://github.com/pytorch/botorch/actions/runs/8904363989/job/24453525662

Also audited the test classes to make sure they call `super().setUp()` if they overwrite `setUp`.

Differential Revision: D56805187
saitcakmak added a commit to saitcakmak/botorch that referenced this pull request May 1, 2024
Summary:
Since pytorch#2304, these warnings use `InputDataWarning`. The current filter does not filter these out: https://github.com/pytorch/botorch/actions/runs/8904363989/job/24453525662

Also audited the test classes to make sure they call `super().setUp()` if they overwrite `setUp`.

Differential Revision: D56805187
facebook-github-bot pushed a commit that referenced this pull request May 1, 2024
Summary:
Since #2304, these warnings use `InputDataWarning`. The current filter does not filter these out: https://github.com/pytorch/botorch/actions/runs/8904363989/job/24453525662

Also audited the test classes to make sure they call `super().setUp()` if they overwrite `setUp`.

Reviewed By: Balandat

Differential Revision: D56805187

fbshipit-source-id: a0899a7b799f4cbee13f9b5dff7f36b00bf01c19
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.

2 participants