Skip to content

Commit

Permalink
fix test_names LoraManager test
Browse files Browse the repository at this point in the history
  • Loading branch information
limiteinductive committed Jan 23, 2024
1 parent 421da6a commit 3b458f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foundationals/latent_diffusion/test_lora_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_names(manager: SDLoraManager, weights: dict[str, torch.Tensor]) -> None
assert manager.names == ["pokemon-lora"]

manager.add_loras("pokemon-lora2", tensors=weights)
assert manager.names == ["pokemon-lora", "pokemon-lora2"]
assert set(manager.names) == set(["pokemon-lora", "pokemon-lora2"])


def test_scales(manager: SDLoraManager, weights: dict[str, torch.Tensor]) -> None:
Expand Down

0 comments on commit 3b458f0

Please sign in to comment.