Skip to content

Commit

Permalink
Remove (legacy) Models.BoTorch (#2597)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #2597

This was deprecated 8 months ago, time to remove it.

Reviewed By: dme65

Differential Revision: D60148734

fbshipit-source-id: ffa88cabd96a87a47f126154f61ab1738efafb65
  • Loading branch information
saitcakmak authored and facebook-github-bot committed Jul 24, 2024
1 parent 9cde572 commit 4bdc865
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ax/modelbridge/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,18 +431,6 @@ class Models(ModelRegistryBase):
ST_MTGP_NEHVI = "ST_MTGP_NEHVI"
CONTEXT_SACBO = "Contextual_SACBO"

@classmethod
@property
def BOTORCH(cls) -> Models:
warnings.warn(
"`BOTORCH` Model class has been deprecated and renamed to "
"`LEGACY_BOTORCH`, and it will be removed in a future release. "
"Please use `BOTORCH_MODULAR` instead.",
DeprecationWarning,
stacklevel=2,
)
return cls.LEGACY_BOTORCH

@classmethod
@property
def FULLYBAYESIAN(cls) -> Models:
Expand Down

0 comments on commit 4bdc865

Please sign in to comment.