Open chefexperte opened 6 months ago
I'm sure a patch is coming for this real soon, but if you just wanna run demo.ipynb
you can just add the line:
%pip install torch=2.1.2
To the installation cell and everything should run smoothly (at least in colab).
@Final-Industrialist thanks! %pip install torch==2.1.2
works
Looks like new PyTorch version has broken things up. I guess the author could put the exact package versions, rather than putting range of the versions.
Same issue here with the new versions of Torch. A workaround could be not setting the params_t variable to have the value from torch.optim. You could simply set it to None and things temporarily work.
Since the release of torch 2.2.0, there is no "params_t" anymore, meaning you get the following error, since the requirements of the pyproject.toml are torch=">=2.1.2".