Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Fix tqdm logging into multiple files with allennlp-optuna #5235

Merged
merged 4 commits into from
Jun 2, 2021

Conversation

MagiaSN
Copy link
Contributor

@MagiaSN MagiaSN commented May 31, 2021

Fixes #5234.

Changes proposed in this pull request:

  • Fixed tqdm logging into multiple files with allennlp-optuna.

Before submitting

  • I've read and followed all steps in the Making a pull request
    section of the CONTRIBUTING docs.
  • I've updated or added any relevant docstrings following the syntax described in the
    Writing docstrings section of the CONTRIBUTING docs.
  • If this PR fixes a bug, I've added a test that will fail without my fix.
  • If this PR adds a new feature, I've added tests that sufficiently cover my new functionality.

After submitting

  • All GitHub Actions jobs for my pull request have passed.
  • codecov/patch reports high test coverage (at least 90%).
    You can find this under the "Actions" tab of the pull request once the other checks have finished.

@MagiaSN MagiaSN changed the title Fix tqdm Fix tqdm logging into multiple files with allennlp-optuna May 31, 2021
@ArjunSubramonian ArjunSubramonian requested review from dirkgr, ArjunSubramonian and epwalsh and removed request for dirkgr June 2, 2021 01:01
@ArjunSubramonian
Copy link
Contributor

This PR looks great so far! I've added @epwalsh as well for a second pair of eyes. It would be great to have a test that fails without the bug fix.

@MagiaSN
Copy link
Contributor Author

MagiaSN commented Jun 2, 2021

This PR looks great so far! I've added @epwalsh as well for a second pair of eyes. It would be great to have a test that fails without the bug fix.

Fine, I have added a test

Copy link
Member

@epwalsh epwalsh left a comment

Choose a reason for hiding this comment

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

This is great, thanks @MagiaSN!

@epwalsh epwalsh enabled auto-merge (squash) June 2, 2021 21:33
@epwalsh epwalsh merged commit 6206797 into allenai:main Jun 2, 2021
@MagiaSN MagiaSN deleted the fix_tqdm branch June 3, 2021 03:30
Abhishek-P pushed a commit to Abhishek-P/allennlp that referenced this pull request Aug 11, 2021
* Fix tqdm logging into multiple files with allennlp-optuna

* Update changelog

* Add unittest for resetting tqdm logger handlers

Co-authored-by: Pete <petew@allenai.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tqdm logging into multiple files with allennlp-optuna
3 participants