SGNAS icon indicating copy to clipboard operation
SGNAS copied to clipboard

The compatibility for the later version pytorch

Open GongXinyuu opened this issue 3 years ago • 1 comments

In the original implementation, an error will occur "RuntimeError: A view was created in no_grad mode and is being modified inplace with grad mode enabled" using PyTorch 1.8.

GongXinyuu avatar Apr 02 '21 18:04 GongXinyuu

Thanks for the pull request! To make sure the gradient flow and update the architecture generator, I think that the architecture parameter may not be detached in line 222 of lookup_table_builder.py.

eric8607242 avatar Apr 04 '21 13:04 eric8607242