kohya-ss / kohya-ss/sd-scripts
How to disable lora
Open
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
https://github.com/kohya-ss/sd-scripts/blob/71e2c91330a9d866ec05cdd10584bbb962896a99/networks/lora.py#L966
Here enables lora, i need to enable and disable lora. So I can train with dpo. Dpo required to compute with and without lora results.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in networks/lora.py at the linked line around 966, where LoRA is enabled, and trace how that state is used during training. Define what must be controllable for DPO to compute results with and without LoRA, then verify the behavior in the relevant training flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100