Skip to content

Conversation

@TahaZahid05
Copy link
Contributor

Fixes #3522

Description: This PR removes unnecessary pbar initialization lines in the examples. Since Ignite's ProgressBar handles its own state, these lines were redundant and have been removed to improve code clarity.

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

@github-actions github-actions bot added the examples Examples label Feb 7, 2026
@TahaZahid05 TahaZahid05 force-pushed the fix/redundant-pbar-reset-examples branch from b99569c to c35a44f Compare February 9, 2026 09:07
@TahaZahid05 TahaZahid05 force-pushed the fix/redundant-pbar-reset-examples branch from c35a44f to d90d0ea Compare February 9, 2026 09:11
Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Thanks @TahaZahid05 !

@vfdev-5 vfdev-5 enabled auto-merge February 9, 2026 11:32
@vfdev-5 vfdev-5 added this pull request to the merge queue Feb 9, 2026
Merged via the queue into pytorch:master with commit 38518ca Feb 9, 2026
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples Examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Cleanup] Remove redundant pbar initialization in examples

2 participants