-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make "device" attribute of contextual models a property instead (#1611)
Summary: ## Motivation As of cornellius-gp/gpytorch#2234, the parent class of BoTorch kernels now has a property "device." This means that if a subclass tries to set `self.device`, it will error. This is why the BoTorch CI is currently breaking: https://github.com/pytorch/botorch/actions/runs/3841992968/jobs/6542850176 Pull Request resolved: #1611 Test Plan: Tests should pass Reviewed By: saitcakmak, Balandat Differential Revision: D42354199 Pulled By: esantorella fbshipit-source-id: c53e5b508dd75f4116870cd30ab90d11cd3eb573
- Loading branch information
1 parent
2998cfe
commit b730a5f
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters