add warn in animatediff

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-11-13 10:04:44 -05:00
parent ff772003e3
commit d8eadcb7c1
+1
View File
@@ -84,6 +84,7 @@ def set_adapter(adapter_name: str = 'None'):
new_pipe = None
if 'Model' in shared.opts.sdnq_quantize_weights:
shared.log.debug(f'AnimateDiff: sdnq={shared.opts.sdnq_quantize_weights} reloading model weights')
prev_opts = shared.opts.sdnq_quantize_weights
shared.opts.sdnq_quantize_weights = []
sd_models.reload_model_weights(force=True)