lllyasviel / lllyasviel/stable-diffusion-webui-forge

[ERROR] RuntimeWarning: invalid value encountered in cast

Open
#1,315 11 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

Hi,

I am on the latest Commit hash: 9bc2d04ca942d7d71d1f4c4c2e94945ecdf0e4a5, and I am using Flux.1devQ4.gguf and I am encoutring this error frequently where the image stops midgeneration then continues. The issue is that the image comes out black.
I am on Windows 11, Cuda installed 12.2, Torch version 2.1.2+cu121, RTX3090
Below is the screenshot of the issue:
image

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 the failure with Flux.1devQ4.gguf on Windows 11 using the reported RTX3090, CUDA 12.2, and Torch 2.1.2+cu121 configuration. Inspect the full warning and generation logs around the black, interrupted image; done means identifying a reproducible cause and confirming that generation completes without the cast warning or black output.

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.