Skip to content

Commit

Permalink
Merge branch 'master' into keops_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gpleiss authored Nov 13, 2023
2 parents f7eaa80 + b491ad6 commit 3329eec
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions gpytorch/lazy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ def cat(


def __getattr__(name: str) -> Any:
warnings.warn(
"GPyTorch will be replacing all LazyTensor functionality with the linear operator package. "
"Replace all references to gpytorch.lazy.*LazyTensor with linear_operator.operators.*LinearOperator.",
DeprecationWarning,
)
if not name.startswith("_"):
warnings.warn(
"GPyTorch will be replacing all LazyTensor functionality with the linear operator package. "
"Replace all references to gpytorch.lazy.*LazyTensor with linear_operator.operators.*LinearOperator.",
DeprecationWarning,
)
if name == "LazyTensor":
from .lazy_tensor import LazyTensor

Expand Down

0 comments on commit 3329eec

Please sign in to comment.