Skip to content

Conversation

vmobilis
Copy link
Contributor

@vmobilis vmobilis commented Feb 9, 2025

When tensors in VAE were skipped, progress bar is not filled entirely and pretty_progress() does not put line break after the bar, for example:

  |==================================================| 1130/1130 - 166.67it/s
  |===================>                              | 442/1130 - 0.00it/s[INFO ] stable-diffusion.cpp:516  - total params memory size = 1969.78MB (VRAM 0.00MB, RAM 1969.78MB): clip 235.06MB(RAM), unet 1640.25MB(RAM), vae 94.47MB(RAM), controlnet 0.00MB(VRAM), pmid 0.00MB(RAM)
[INFO ] stable-diffusion.cpp:520  - loading model from '/storage/emulated/0/Download/absolutereality_v181.safetensors' completed, taking 5.29s

Instead of:

  |==================================================| 1130/1130 - 166.67it/s
  |===================>                              | 442/1130 - 0.00it/s
[INFO ] stable-diffusion.cpp:516  - total params memory size = 1969.78MB (VRAM 0.00MB, RAM 1969.78MB): clip 235.06MB(RAM), unet 1640.25MB(RAM), vae 94.47MB(RAM), controlnet 0.00MB(VRAM), pmid 0.00MB(RAM)
[INFO ] stable-diffusion.cpp:520  - loading model from '/storage/emulated/0/Download/absolutereality_v181.safetensors' completed, taking 5.29s

And thanks for the program!

@vmobilis vmobilis changed the title Break line after incomplete loading of VAE Break line after skipping tensors in VAE Mar 10, 2025
@vmobilis vmobilis changed the title Break line after skipping tensors in VAE Break the line after skipping tensors in VAE Mar 12, 2025
@wbruna
Copy link
Contributor

wbruna commented Jun 19, 2025

Tested it locally, LGTM.

@leejet leejet merged commit 3bae667 into leejet:master Jul 3, 2025
9 checks passed
@leejet
Copy link
Owner

leejet commented Jul 3, 2025

Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants