Skip to content

Conversation

@ethansmith2000
Copy link
Contributor

in jupyter notebooks, if running generations sequentially, the page can get filled with progress bars. would be nice to have an option to disable it.

in jupyter notebooks, if running generations sequentially, the page can get filled with progress bars. would be nice to have an option to disable it.
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@ernestchu
Copy link
Contributor

Hi, thanks for the pitch. However, this is already implemented, see #242. BTW, I don't think this is well-documented enough, maybe you can try to enhance the doc, thanks.

@patrickvonplaten
Copy link
Contributor

patrickvonplaten commented Apr 27, 2023

Hey @ethansmith2000,

could you indeed try using this code snippet:

pipeline = DDPMPipeline.from_pretrained('CompVis/ldm-celebahq-256')
pipeline.to('cuda:0')

# if one wants to set `leave=False`
pipeline.set_progress_bar_config(leave=False)

# if one wants to disable `tqdm`
pipeline.set_progress_bar_config(disable=True)

Doesn't that work?

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@github-actions github-actions bot added the stale Issues that haven't received updates label May 21, 2023
@github-actions github-actions bot closed this May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Issues that haven't received updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants