Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tqdm progress bars optional (less verbose prod logs) #796

Merged
merged 6 commits into from
Feb 1, 2021

Conversation

tholor
Copy link
Member

@tholor tholor commented Feb 1, 2021

At the moment every DPR query creates a tqdm progress bar when creating the embedding. If you run eval jobs with multiple thousand queries, logs will get very messy. Less disable tqdm for single samples

@tholor tholor requested a review from tanaysoni February 1, 2021 16:56
@tholor tholor changed the title Make dpr queries less verbose Make DPR queries less verbose Feb 1, 2021
@tholor
Copy link
Member Author

tholor commented Feb 1, 2021

@tanaysoni Extended it as discussed to further classes. As not all retrievers / reader / doc stores use tqdm bars, I haven't added it to their respective base classes

@tholor tholor changed the title Make DPR queries less verbose Make tqdm progress bars optional (less verbose prod logs) Feb 1, 2021
@tholor tholor merged commit 1318b55 into master Feb 1, 2021
@tholor tholor deleted the less_verbose_dpr_queries branch February 1, 2021 19:51
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.

None yet

2 participants