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 input transform bug when sequentially training a BatchedMultiOutputModel #1454

Closed
wants to merge 1 commit into from

Conversation

saitcakmak
Copy link
Contributor

Summary:
This fixes a bug where, due to the input transform being in train mode while the model is in eval mode, the learnable bounds of input transforms, such as Normalize, would be wrongly updated during model training, effectively disabling the transforms.

This is a serious bug that was leading to using the model trained with normalized inputs on a model without any normalization. It has been around for a while, since #1283 :'(.

Differential Revision: D40453200

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

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

…putModel` (pytorch#1454)

Summary:
Pull Request resolved: pytorch#1454

This fixes a bug where, due to the input transform being in `train` mode while the model is in `eval` mode, the learnable bounds of input transforms, such as Normalize, would be wrongly updated during model training, effectively disabling the transforms.

This is a serious bug that was leading to using the model trained with normalized inputs on a model without any normalization. It has been around for a while, since pytorch#1283 :'(.

Differential Revision: D40453200

fbshipit-source-id: 0d60ac5f23efe06e200713555dfa109b612d9290
@facebook-github-bot
Copy link
Contributor

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

AdrianSosic pushed a commit to emdgroup/baybe that referenced this pull request Nov 28, 2023
This PR cleans up the code dependencies:
* Bumps `botorch` to version 0.8.1 in order to fix a critical bug (pytorch/botorch#1454) that has been around until version 0.7.3
* Pins all code formatting related package versions to prevent unexpected formatting changes (see ufmt installation guide for details)
* Marks some as dev-dependencies

Related work items: #9360
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants