kohya-ss / kohya-ss/sd-scripts

Syntax error in lora_flux.py

Open Beginner friendly
#2,220 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

https://github.com/kohya-ss/sd-scripts/blob/5e366acda4789af215a820b1ac866c214f6c9f34/networks/lora_flux.py#L908-L908
This is syntactically incorrect.
Maybe just `split_dims = self.get_qkv_mlp_split_dims()[:3]`?

Contributor guide

No contributing guide indexed for this repository

Research direction

Open networks/lora_flux.py at line 908 and inspect the expression identified in the issue. Run a Python syntax check on the file after correcting the invalid syntax. Done means lora_flux.py parses successfully without a syntax error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.