Skip to content

Conversation

@i3hz
Copy link
Contributor

@i3hz i3hz commented Oct 30, 2025

What does this PR do?

When using an iterable dataset, the Trainer incorrectly calculates steps_in_epoch as max_steps,
causing epoch values to be 2x smaller than expected.

Fixes #41913

Before submitting

Who can review?

@Rocketknight1 @SunMarc @nzw0301

members/contributors who may be interested in your PR.

@i3hz i3hz closed this Nov 4, 2025
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.

epoch in the log message uses a wrong denominator under some conditions

1 participant