huggingface / huggingface/diffusers
give state dict creation its own method in IP-adapter pipeline tests
Offen
#14,634
0 Kommentare
0 Reaktionen
1 zugewiesene Person
Beansprucht von @sayakpaul
Auf GitHub ansehen
- Vorherrschende Sprache
- Python
- Sterne
- 34.5k
- Forks
- 7.3k
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
For models we use a method in the test Mixin that the models can override to generate the necessary state dict. Let's follow that convention here as well
https://github.com/huggingface/diffusers/blob/a8c33fe99f5603c907e6722325e4a68e3717b62b/tests/models/testing_utils/ip_adapter.py#L76
Override in the specific model class:
https://github.com/huggingface/diffusers/blob/a8c33fe99f5603c907e6722325e4a68e3717b62b/tests/models/transformers/test_models_transformer_flux.py#L322
_Originally posted by @DN6 in https://github.com/huggingface/diffusers/pull/14622#discussion_r3878211632_
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.