Same code got error in 0.20: 'AttributeError: 'GRU' object has no attribute '_param_buf_size'

My code was ok in v0.12.

Recently I updated to 0.20 using pip.
After that, when runing the same code, I got this error. Not know why.

AttributeError: ‘GRU’ object has no attribute ‘_param_buf_size’

are you loading your model from a previous checkpoint, by any chance?

also, if you can share the code to reproduce this issue, it will help.

just compiled and installed from the latest source, seems everything is ok now.