AttributeError: module 'pyro.optim' has no attribute 'ExponentialLR'
Re-dot-art opened this issue · 1 comments
Re-dot-art commented
when I try this code: https://github.com/nd-ball/py-irt/blob/master/examples/py-irt_example.ipynb
An error occurred, prompting: AttributeError: module 'pyro.optim' has no attribute 'ExponentialLR' Can you tell me how to solve this problem? My version of Pytorch is 2.0.0+cuda11.7
jplalor commented
See pyro-ppl/pyro#3167 for source of this issue.
Our fix is to keep PyTorch below 2.0.0 for now.
Addressed in ae2eaab and package version 0.4.9:
pip install -U py-irt