stable-diffusion.cpp icon indicating copy to clipboard operation
stable-diffusion.cpp copied to clipboard

Break the line after skipping tensors in VAE

Open vmobilis opened this issue 1 year ago • 0 comments

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 avatar Feb 09 '25 02:02 vmobilis