kohya-ss / kohya-ss/sd-scripts

class "DyLoRANetwork" lacks the "is_mergeable" method

Open
#1,241 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

At line 1711 of `sdxl_gen_img.py`, the script calls the `is_mergeable()` method to check whether a network is mergeable. But this causes an error when using dylora, since the `DyLoRANetwork` class has no such method.

I am not sure whether a dylora is mergeable, but it seems like a simple method to implement. Thank you for your hard work!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at line 1711 of sdxl_gen_img.py and inspect the DyLoRANetwork class definition to understand how is_mergeable() is used. Determine whether DyLoRA networks are mergeable, then ensure the call no longer raises an error and reports the correct behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.