[tests] fix test_from_save_pretrained_dtype_inference (#13872)
* fix test_from_save_pretrained_dtype_inference
* fix
* add warning to to()
* address feedback
* fix
* fix
* fix
* logger.debug -> logger.warning
* Update src/diffusers/models/modeling_utils.py
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
* fix
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>