botorch
botorch copied to clipboard
gpytorch.utils.broadcasting.{name} deprecated causing import error
If you are submitting a bug report or feature request, please use the respective issue template.
Issue description
The newest release of gypytorch deprecated gpytorch.utils.broadcasting causing an import error (as pictured).

Code example
from botorch.models.utils import fantasize as fantasize_flag
System Info
Please provide information about your setup, including
- BoTorch Version (run
print(botorch.__version__): 1.9 - GPyTorch Version (run
print(gpytorch.__version__)0.7 - PyTorch Version (run
print(torch.__version__)1.1.2 - Computer OS Ubuntu and Mac
Hi @nirtiac. This issue should be resolved after 0.7.0 release. I tried both with 0.7.0 and 0.7.1 versions and everything seems fine. The imports causing the error was removed in #1363.