Skip to content

Commit 9f492ca

Browse files
authored
[tests] component manager tests (#13961)
* component manager tests * remove unneeded comments. * remove component test mixin from flux modular test * minor
1 parent 6ad3573 commit 9f492ca

2 files changed

Lines changed: 448 additions & 1 deletion

File tree

tests/modular_pipelines/flux/test_modular_pipeline_flux.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
)
3030

3131
from ...testing_utils import floats_tensor, torch_device
32+
from ..test_components_manager import ModularPipelineOffloadTesterMixin
3233
from ..test_modular_pipelines_common import ModularPipelineTesterMixin
3334

3435

@@ -45,7 +46,7 @@
4546
}
4647

4748

48-
class TestFluxModularPipelineFast(ModularPipelineTesterMixin):
49+
class TestFluxModularPipelineFast(ModularPipelineOffloadTesterMixin, ModularPipelineTesterMixin):
4950
pipeline_class = FluxModularPipeline
5051
pipeline_blocks_class = FluxAutoBlocks
5152
pretrained_model_name_or_path = "hf-internal-testing/tiny-flux-modular"

0 commit comments

Comments
 (0)