Skip to content

Conversation

@darthdeus
Copy link

This is a relatively small change that allows nesting of the pipe(...) call inside another tqdm loop. Without this the output looks like this

image

where each intermediate run produces a progress bar. This pollutes the output the more nested loops of inference are run. With the change the inner-most progress bar disappears after each run, allowing arbitrary number of calls to pipe(...), with just the top bar being shown in the end

image

I'm not sure if this should be enabled by default, maybe it should be a flag as part of the kwargs?

@patrickvonplaten
Copy link
Contributor

Good to merge for me here! @patil-suraj @anton-l what do you think?

@hysts hysts mentioned this pull request Aug 24, 2022
@patrickvonplaten
Copy link
Contributor

@darthdeus, I think PR #242 should allow for this functionality by providing a kwargs input. Closing here (hope that's ok)

@darthdeus darthdeus deleted the tqdm-leave-false branch August 30, 2022 13:09
PhaneeshB pushed a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
…ngface#226)


* Update nightly.yml to fix wheel building issues.

* Update setup_venv.sh to only install torch+cu116 if IMPORTER=1 is set.
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