Renorm fix (#59615)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/59584
albanD, soulitzer, `renorm` grad was completely busted. Fast gradcheck is definitely not doing its job.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59615
Reviewed By: jbschlosser
Differential Revision: D28964271
Pulled By: ngimel
fbshipit-source-id: b6878cd24db9189b64b67eb58bd2cd8956cda78a
Author
Natalia Gimelshein