kohya-ss / kohya-ss/sd-scripts

DeepSpeed+LoRA(unet only) == Module [LoRANetwork] is missing the required "forward" function

Open
#711 4 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

I get an error when trying to use DeepSpeed with LoRA with unet only training:
NotImplementedError: Module [LoRANetwork] is missing the required "forward" function

Any ideas how to fix this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported DeepSpeed and LoRA unet-only training setup, then trace where the LoRANetwork module is invoked without a forward function. The issue does not name files or tests; done means unet-only training runs without the reported NotImplementedError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.