lllyasviel / lllyasviel/stable-diffusion-webui-forge

IMG2IMG: RuntimeError: The size of tensor a (65) must match the size of tensor b (66) at non-singleton dimension 3

Open
#1,540 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Hello !

When i try to make a IMG2IMG with Flux with Neveroom checked, i have this error:
```
"RuntimeError: The size of tensor a (65) must match the size of tensor b (66) at non-singleton dimension 3
Time taken: 31.6 sec.

A: 0.32 GB, R: 0.38 GB, Sys: 1.2/4 GB (30.1%)"
```

```
Never OOM Integrated

X Enabled for UNet (always maximize offload)
X Enabled for VAE (always tiled)
```

Prompt:
a clear black and white photo. a girl in a dress, a baby standing on a chair, a little girl standing in a dress

I can do IMG2IMG with others pictures but not this this one....

Thanks !

![456847469_2185741611804988_3495053606784716548_n](https://github.com/user-attachments/assets/2741e3fb-a095-4bf7-9c36-5d6b8583a867)

![Capture d'écran 2024-08-27 105056](https://github.com/user-attachments/assets/a8cf4fe4-c2f1-4f11-b1a6-897a80d9634b)
![Capture d'écran 2024-08-27 105423](https://github.com/user-attachments/assets/5e6170d9-36f9-44f1-84c9-1be89a5db371)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing IMG2IMG with Flux, Never OOM enabled, and the attached image, then inspect the reported tensor-size mismatch at dimension 3. The issue does not name a file, test, or entry point; done means this image can complete IMG2IMG without the 65-versus-66 runtime error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, 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.