Disable async loading when quantizing on the fly (#44576)
* better logic
* fix
* better now
* Apply repo consistency fixes
* Apply suggestion from @Cyrilvallez
Co-authored-by: Cyril Vallez <cyril.vallez@huggingface.co>
* fix
* Apply repo consistency fixes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Cyril Vallez <cyril.vallez@huggingface.co>