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
The default value of the set_to_none parameter has changed from False to True which caused the autogradyt_tutorial.py fail on 2.0 build:
File "/Users/svekars/repositories/tutorials2/tutorials/beginner_source/introyt/autogradyt_tutorial.py", line 339, in <module>
print(model.layer2.weight.grad[0][0:10])
TypeError: 'NoneType' object is not subscriptable
Explicitly setting this value to False in the tutorial fixes the issue.