Lightning-AI / Lightning-AI/pytorch-lightning
Hide progress bars on HPC logging environments but keep in interactive terminals
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 31.4k
- Forks
- 3.8k
- Avg merge
- 6d 7h
- Merged PRs (30d)
- 6
Description
`tqdm(disable=None)` allows for the suppression of the output in non-tty (e.g. CI/log files) but keeps the progress bars in terminal (i.e. tty mode). I believe this is a simple change that will improve the progress bar functionality.
see doc: https://git.io/JnBOi
cc @borda @awaelchli @rohitgr7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the issue's tqdm(disable=None) reference and the linked documentation first, then locate the progress-bar entry point used by Lightning. Confirm the current behavior in interactive terminals and HPC or non-TTY logging environments; done means bars remain interactive while being suppressed in logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100