Squashed commit of the following:
commitfdb23dec7dAuthor: kijai <40791699+kijai@users.noreply.github.com> Date: Mon Jan 5 22:11:04 2026 +0200 Update model.py commit07d7d8ca8eAuthor: kijai <40791699+kijai@users.noreply.github.com> Date: Mon Jan 5 22:10:02 2026 +0200 remove prints commit01869d4bf5Merge:55c6720bf1d77fAuthor: kijai <40791699+kijai@users.noreply.github.com> Date: Mon Jan 5 18:47:48 2026 +0200 Merge branch 'main' into longvie2 commit55c672028bMerge:b551ec9be41f67Author: kijai <40791699+kijai@users.noreply.github.com> Date: Mon Dec 29 15:39:43 2025 +0200 Merge branch 'main' into longvie2 commitb551ec9e31Merge:9f019d719bcee6Author: kijai <40791699+kijai@users.noreply.github.com> Date: Mon Dec 29 15:03:53 2025 +0200 Merge branch 'main' into longvie2 commit9f019d7dfbMerge:fc5322fc5d3fb4Author: kijai <40791699+kijai@users.noreply.github.com> Date: Tue Dec 23 23:40:25 2025 +0200 Merge branch 'main' into longvie2 commitfc5322fae4Merge:222fc70e75f814Author: kijai <40791699+kijai@users.noreply.github.com> Date: Tue Dec 23 22:04:15 2025 +0200 Merge branch 'main' into longvie2 commit222fc70eb7Author: kijai <40791699+kijai@users.noreply.github.com> Date: Tue Dec 23 17:18:55 2025 +0200 Update nodes.py commit8509236da1Author: kijai <40791699+kijai@users.noreply.github.com> Date: Tue Dec 23 14:20:18 2025 +0200 init
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ def _replace_linear(model, compute_dtype, state_dict, prefix="", patches=None, s
|
||||
module_prefix = module_prefix.replace("_orig_mod.", "")
|
||||
_replace_linear(module, compute_dtype, state_dict, module_prefix, patches, scale_weights, compile_args, modules_to_not_convert)
|
||||
|
||||
if isinstance(module, nn.Linear) and "loras" not in module_prefix and name not in modules_to_not_convert:
|
||||
if isinstance(module, nn.Linear) and "loras" not in module_prefix and "dual_controller" not in module_prefix and name not in modules_to_not_convert:
|
||||
weight_key = module_prefix + "weight"
|
||||
if weight_key not in state_dict:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user