Skip to content

Remove ProgressBar - #4044

Merged
AlexanderDokuchaev merged 1 commit into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/rm_pr_bar
Apr 20, 2026
Merged

Remove ProgressBar#4044
AlexanderDokuchaev merged 1 commit into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/rm_pr_bar

Conversation

@AlexanderDokuchaev

Copy link
Copy Markdown
Collaborator

Changes

Removed unused ProgressBar class

Reason for changes

Unused
Functionality had already been migrated to track instead

Copilot AI review requested due to automatic review settings April 17, 2026 12:46
@AlexanderDokuchaev
AlexanderDokuchaev requested a review from a team as a code owner April 17, 2026 12:46
@github-actions github-actions Bot added the NNCF Common Pull request that updates NNCF Common label Apr 17, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes the legacy ProgressBar implementation and its unit tests now that progress reporting is handled via track_progress.

Changes:

  • Deleted ProgressBar implementation from nncf.common.logging.
  • Removed the corresponding test suite for ProgressBar.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/nncf/common/logging/progress_bar.py Removes the legacy logging-based progress bar implementation.
tests/common/test_progress_bar.py Removes tests that exclusively covered the deleted ProgressBar.
Comments suppressed due to low confidence (1)

src/nncf/common/logging/progress_bar.py:1

  • Removing this module is a breaking change for any external users importing nncf.common.logging.progress_bar.ProgressBar. Elsewhere in the repo, deprecated imports/APIs are typically kept as compatibility shims that emit a deprecation warning and re-export the new API (e.g., src/nncf/common/utils/logger/__init__.py, deprecated functions in src/nncf/torch/__init__.py). Consider keeping progress_bar.py as a thin deprecated wrapper that forwards to track()/WeightedProgress (or add a ReleaseNotes entry if the removal is intentionally user-facing).

@AlexanderDokuchaev
AlexanderDokuchaev merged commit f12f4ca into openvinotoolkit:develop Apr 20, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NNCF Common Pull request that updates NNCF Common

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants