You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With pytorch 2.0, the pyro.optimPyroLRScheduler wrappers no longer seem to be wrapping the pytorch learning rate schedulers and including them in the pyro.optim namespace.
frompyroimportoptimoptim.ExponentialLR
Traceback (most recent call last):
File "<stdin>", line 1, in <module>AttributeError: module 'pyro.optim' has no attribute 'ExponentialLR'
same for
importpyro.optimpyro.optim.ExponentialLR
Traceback (most recent call last):
File "<stdin>", line 1, in <module>AttributeError: module 'pyro.optim' has no attribute 'ExponentialLR'
Environment
OS: Mac Monterey 12.6.3
PyTorch version: 2.0.0
Pyro version: 1.8.4
Python 3.8 and 3.9 (did not try higher)
Code Snippet
importpyro.optimpyro.optim.ExponentialLR
The text was updated successfully, but these errors were encountered:
Issue Description
With pytorch 2.0, the
pyro.optim
PyroLRScheduler
wrappers no longer seem to be wrapping the pytorch learning rate schedulers and including them in thepyro.optim
namespace.same for
Environment
Code Snippet
The text was updated successfully, but these errors were encountered: