Files
diffusers/tests/models/testing_utils
jiqing-feng 2f4a7177f0 Fix training gradient underflow in quantization tests (#13539)
* Fix training gradient underflow in quantization tests

Change autocast dtype from float16 to bfloat16 in _test_quantization_training.
Float16's limited dynamic range causes gradients to underflow to zero when
passing through quantized tensor subclass operations.

* fix autocast dtype check

Signed-off-by: jiqing-feng <jiqing.feng@intel.com>

---------

Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2026-05-18 15:20:07 +05:30
..
2026-02-02 18:51:44 +05:30
2026-04-22 13:19:32 +05:30
2026-02-02 18:51:44 +05:30
2026-02-02 18:51:44 +05:30
2026-02-02 18:51:44 +05:30