# Scaler.update() - AssertionError: No inf checks were recorded prior to update

**URL:** <https://discuss.pytorch.org/t/scaler-update-assertionerror-no-inf-checks-were-recorded-prior-to-update/145864>\
**Category:** mixed-precision\
**Created:** [March 8, 2022, 6:59am UTC](https://discuss.pytorch.org/t/scaler-update-assertionerror-no-inf-checks-were-recorded-prior-to-update/145864 "2022-03-08T06:59:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![clarky](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@clarky](https://discuss.pytorch.org/u/clarky)\
**Post date:** [October 19, 2022, 2:39am UTC](https://discuss.pytorch.org/t/scaler-update-assertionerror-no-inf-checks-were-recorded-prior-to-update/145864/5 "2022-10-19T02:39:54Z")

</div>

I am also facing the same issue. [Using AMP with CUDA Graphs and DDP - Scaler Error](https://discuss.pytorch.org/t/using-amp-with-cuda-graphs-and-ddp-scaler-error/163671)

---

_[View the full topic](https://discuss.pytorch.org/t/scaler-update-assertionerror-no-inf-checks-were-recorded-prior-to-update/145864)._
