Closed dhairyadalal closed 6 years ago
Hi There!
new_zeros
is a PyTorch 0.4 feature. I'll update the documentation concerning PyTorch support. But overall, <= PyTorch 0.3 is not supported due to the many breaking changes in PyTorch 0.4.
Thanks!
Hi!
The dependency on PyTorch 0.4 has been updated in the README via this PR: https://github.com/PetrochukM/PyTorch-NLP/pull/46
Thanks!
you may also want to update the requirements.txt file to reflect pytorch 0.4 is required
@dhairyadalal Done! Thank you!
https://github.com/PetrochukM/PyTorch-NLP/commit/94dc8dd28c6bfda2ff05b746a6dbfe4d3787017b
Unable to recreate the SRU example code provided in readme. Getting a Variable object has no attribute 'new_zeros'. Running pytorch .3.0.
Expected Behavior
Actual Behavior
`--------------------------------------------------------------------------- AttributeError Traceback (most recent call last)