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

Break the line after skipping tensors in VAE #591

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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
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.

1 participant