Repository navigation
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
/diffusers-bot pytest tests/pipelines/ltx/test_ltx_latent_upsample.py tests/pipelines/ltx2/ tests/pipelines/ace_step/test_ace_step.py tests/pipelines/audioldm2/test_audioldm2.py tests/pipelines/stable_audio/test_stable_audio.py tests/pipelines/stable_audio_3/test_stable_audio_3.py tests/pipelines/sana_wm/test_sana_wm.py tests/modular_pipelines/ltx2/ tests/modular_pipelines/echo/ tests/models/test_relocated_class_loading.py tests/pipelines/flux/test_pipeline_flux_redux.py |
|
❌ |
|
/diffusers-bot pytest tests/pipelines/test_pipelines.py tests/pipelines/test_pipeline_utils.py tests/models/test_models_auto.py |
|
✅ |
|
https://github.com/huggingface/diffusers/actions/runs/39928147091 fails on |
|
/diffusers-bot pytest tests/models/test_relocated_class_loading.py |
|
✅ |
| ) | ||
|
|
||
|
|
||
| class AudioLDM2UNet2DConditionModel(ModelMixin, AttentionMixin, ConfigMixin, UNet2DConditionLoadersMixin): |
There was a problem hiding this comment.
a bit puzzling why this unet is a pipeline component
(not something we need to address in this PR)
Supercedes #13781.
I have verified (
scripts/smoke_test_relocated_pretrained.py) that existing checkpoints load with this change. Will delete this before merging.The new files under
src/diffusers/modelsare basically redirections. So, reviewers can fully skip them. The changes undersrc/diffusers/pipelinesandsrc/diffusers/modular_pipelinesrelate to deprecation and import path changes.There's also a test
tests/models/test_relocated_class_loading.pythat ensures we warn about the deprecation when needed and resolve to the new class location.