Closed NiallJeffrey closed 2 years ago
Hi Niall, I just ran it, and it went smoothly. I'm using this version of torch : '1.10.0+cu102'
Which version of PyTorch are you using? It is indeed most likely a problem of version, pywph currently requires torch>=1.8.0.
Yep, using 1.8
OK, with the recent update it seems that now PyWPH necessitates at least torch>=1.9.0. I will update the requirements. Thank you for the feedback!
Ok - I've rerun the install procedure with the new requirements and the gradient example now works fine 👍
In the new version 1.0, the autograd is broken. In particular, the example no longer work: https://github.com/bregaldo/pywph/blob/main/examples/compute_wph_grad.py. See the below output.
If I reload the old version (or the current cross branch), this all works fine. This seems like quite a bad bug at the moment.