Skip to content

progress bar improvements#132

Open
JCBrouwer wants to merge 1 commit into
s9roll7:mainfrom
JCBrouwer:better-progress-bar
Open

progress bar improvements#132
JCBrouwer wants to merge 1 commit into
s9roll7:mainfrom
JCBrouwer:better-progress-bar

Conversation

@JCBrouwer

Copy link
Copy Markdown

Hey @s9roll7, another one with some improvements to progress bars. Addresses the main comment in #121.

  • The main progress bar now counts diffusion steps. I think this is easier to understand than the current steps per context window count.
  • Decoding latents with the VAE now also has its own progress bar (as especially for long / hi-res videos this can take quite a bit of time!)
  • I had to remove some info logs so that we don't get progress bars all over the place (rich/tqdm/logging being used all at once is really kind of a clusterfuck, so there's no better solution than this that I could find)

Here's what it looks like (running with a preview output every 5 steps):

new.progress.bar2.mp4

@SoftologyPro would this address your issue?

@JCBrouwer

Copy link
Copy Markdown
Author

hey, @s9roll7 just checking in, any feedback on this update to progress bars?

logger.info(f"{len( region_condi_list )=}")
logger.info(f"{len( region_list )=}")

pipeline_output = pipeline(

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically, don't delete the logs left in the code.
Most of the time, they are still being debugged or are left to investigate behavior that could be improved.


stopwatch_stop("LOOP end")
progress_bar.update()

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not want to change the units of progress

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.

2 participants