Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: ZeroDivisionError: division by zero #7719

Open
1 task done
katjen1 opened this issue Mar 2, 2025 · 1 comment
Open
1 task done

[bug]: ZeroDivisionError: division by zero #7719

katjen1 opened this issue Mar 2, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@katjen1
Copy link

katjen1 commented Mar 2, 2025

Is there an existing issue for this problem?

  • I have searched the existing issues

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

GTX 1070

GPU VRAM

8GB

Version number

5.7.0

Browser

Brave

Python dependencies

No response

What happened

While trying to choose less than 0.3 Denoising strength, this Server Error apears: "ZeroDivisionError: division by zero",
and generating fails. with 0.3 Denoising strength and above, everything works perfectly. what is wrong?
(using locally InvokeAI community edition, latest 5.7.0 version)

What you expected to happen

normal generating

How to reproduce the problem

No response

Additional context

No response

Discord username

No response

@katjen1 katjen1 added the bug Something isn't working label Mar 2, 2025
@psychedelicious
Copy link
Collaborator

Denoising strength maps to a percentage of step count.

It could be that this percentage gets floored (rounded down) and used as a divisor. If low enough to round down to zero, we could get this error.

Just an idea - will take digging into the code to confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants