lllyasviel / lllyasviel/stable-diffusion-webui-forge

Flux Tools Support

Open
#2,365 2 comments 10 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I am trying to use Flux's [new fill model](https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev) but am receiving this error message:

`RuntimeError: mat1 and mat2 shapes cannot be multiplied (4096x64 and 384x3072)`

This error appears when I try to use the inpaint tool on the img2img tab.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error by using the linked FLUX.1-Fill-dev model with the inpaint tool on the img2img tab, then trace the reported matrix-shape mismatch to the relevant integration entry point. Done means the new fill model can be used by that workflow without the reported RuntimeError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.