botorch icon indicating copy to clipboard operation
botorch copied to clipboard

gpytorch.utils.broadcasting.{name} deprecated causing import error

Open nirtiac opened this issue 3 years ago • 1 comments

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).

Screen Shot 2022-09-12 at 15 11 52

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

nirtiac avatar Sep 15 '22 17:09 nirtiac

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.

saitcakmak avatar Sep 15 '22 17:09 saitcakmak