Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 0 additions & 112 deletions tests/lora/test_lora_layers_wan.py

This file was deleted.

16 changes: 15 additions & 1 deletion tests/pipelines/wan/test_wan.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@
from diffusers import AutoencoderKLWan, FlowMatchEulerDiscreteScheduler, WanPipeline, WanTransformer3DModel

from ...testing_utils import assert_tensors_close, torch_device
from ..testing_utils import BasePipelineTesterConfig, MemoryTesterMixin, PipelineTesterMixin
from ..testing_utils import (
BasePipelineTesterConfig,
LoraMemoryTesterMixin,
LoraTesterMixin,
MemoryTesterMixin,
PipelineTesterMixin,
)


class WanPipelineTesterConfig(BasePipelineTesterConfig):
Expand Down Expand Up @@ -142,3 +148,11 @@ def test_save_load_optional_components(self, tmp_path, expected_max_difference=1

class TestWanPipelineMemory(WanPipelineTesterConfig, MemoryTesterMixin):
pass


class TestWanPipelineLoRA(WanPipelineTesterConfig, LoraTesterMixin):
"""LoRA tests for the Wan pipeline."""


class TestWanPipelineLoRAMemory(WanPipelineTesterConfig, LoraMemoryTesterMixin):
"""LoRA offloading tests for the Wan pipeline."""
Loading