Skip to content

Conversation

@McPatate
Copy link
Member

No description provided.

@McPatate McPatate requested a review from remi-or November 13, 2025 16:24
Copy link
Collaborator

@remi-or remi-or left a comment

Choose a reason for hiding this comment

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

I have a few comments, otherwise looks good!

try:
from tqdm.contrib.logging import logging_redirect_tqdm

with logging_redirect_tqdm([logger]):
Copy link
Collaborator

Choose a reason for hiding this comment

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

to decrease indentation level, we put the two context managers on the same line

Copy link
Member Author

@McPatate McPatate Nov 13, 2025

Choose a reason for hiding this comment

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

>:(

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@McPatate McPatate changed the title feat(cb): use context manager in \generate_batch\ feat(cb): use context manager in generate_batch Nov 13, 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.

4 participants