Skip to content

[Text to Image][Mac ARM M2] Blank or Empty Output with RuntimeWarning #562

Open
@stefnestor

Description

@stefnestor

👋 howdy, team; first thanks for the great app!

👻 After upgrading from v1.7.4 to v2.5.3 (also v2.5.1), I'm encountering issues on "Text to image" on non-default models ( stabilityai_stable-diffusion-2-1, v2-1_768-ema-pruned ) but not models ( Default_SDB_0.1 (default), Samaritan_3d_Cartoon_v1_s2 ) where the outputted image is always (blank, empty, black).

🙋‍♀️ I would expect this model to continue working agnostic to app version/upgrade. I also believe this is the main recommended version and would expect it to work out of the box.

🔬 Model v2-1_768-ema-pruned succeeds for me on v1.7.4 but not v2.5.x. My Mac is M2 Pro 32GB on Sequoia 15.3.1. To troubleshoot, I have ( uninstalled+reinstalled app, restarted computer, tested with all other apps closed, ensured no coinciding CPU/RAM strain ).

What appears to be coinciding non-sequential log errors during issue:

stable_diffusion/schedulers/karras_scheduler.py:129: RuntimeWarning: divide by zero encountered in log

stable_diffusion/stable_diffusion.py:565: RuntimeWarning: invalid value encountered in cast

Errors appear to slightly shift but symptoms remain when toggling "Advanced Options">Diffusion>Sampler from "karras" to anything else.

Examples on defaults with prompt "octopus" (with logs footnoted if erred as generated from fresh app start-up each time)

  • (A) successful v1.7.4 with model v2-1_768-ema-pruned from file manually downloaded from here months ago
    • Image
  • (B) unsuccessful v2.5.3 with model v2-1_768-ema-pruned from same save location as working just above
    • Image
  • (C) unsuccessful v2.5.3 with model stabilityai_stable-diffusion-2-1 as installed today under "import models">"import from hugging face"
    • Image
  • (D) successful v2.5.3 with model Default_SDB_0.1 as installed today
    • Image
  • (E) successful v2.5.3 with model Samaritan_3d_Cartoon_v1_s2 as installed today under "Import Models">"Availble for download"
    • Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions