
Zero-valued PyTorch loss can run code in the backward pass
IEEE 754 rounding and autodiff disagree, so a loss logged as 0.0 can still set gradients that rewrite weights.
1 stories, newest first · one card per story

IEEE 754 rounding and autodiff disagree, so a loss logged as 0.0 can still set gradients that rewrite weights.
Today 2.3K readers · 2.8K views · 411 reads · all time 108K views