1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-10-29 11:12:00 +03:00
Files
diffusers/tests/models/testing_utils
Steven Liu 23b0004330 torch.dtype alias (#14162)
* alias

* add tests

* feedback

* Fix failing test_dtype_alias pipeline tests

Cosmos pipelines keep the safety_checker in float32 and require it to be
passed explicitly on reload, mirroring their test_torch_dtype_dict
overrides. PRX skips dtype-dict/save-load tests because the custom
T5GemmaEncoder is not compatible with transformers v5; do the same for
test_dtype_alias.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 10:08:01 -07:00
..
2026-07-14 10:08:01 -07:00