This commit is contained in:
Haoming
2026-03-04 12:12:42 +08:00
parent cc37423f65
commit 62decb868b
@@ -75,7 +75,7 @@ def register_modulation_wrapper(
"end_layer": int(end_layer),
}
assert isinstance(model_patcher.model.diffusion_model, Anima)
assert model_patcher.model.config.huggingface_repo.endswith("Anima")
global ORIG_FORWARD
ORIG_FORWARD = Anima.forward