Deprecate dtype per sub config (#42990)
* deprecate dtypes per sub config
* fix test
* Update tests/utils/test_modeling_utils.py
Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>
* address comment
---------
Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>