Skip to content

Fix drop_remainder bug in pack op - #1246

Merged
cbalioglu merged 1 commit into
mainfrom
balioglu/pack-fix
Aug 12, 2025
Merged

Fix drop_remainder bug in pack op#1246
cbalioglu merged 1 commit into
mainfrom
balioglu/pack-fix

Conversation

@cbalioglu

Copy link
Copy Markdown
Contributor

This PR fixes an edge case bug where the drop_remainder option does not get respected by the pack operator if the current batch does not get filled entirely in truncate mode.

@cbalioglu
cbalioglu requested a review from uralik August 12, 2025 20:02
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 12, 2025

@uralik uralik 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.

thanks!!!!

@cbalioglu
cbalioglu merged commit 84e1f64 into main Aug 12, 2025
14 checks passed
@cbalioglu
cbalioglu deleted the balioglu/pack-fix branch September 4, 2025 02:39
lydiadli pushed a commit that referenced this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants