Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the document of buffer_size in max_token_bucketize #834

Closed
wants to merge 1 commit into from
Closed

Fix the document of buffer_size in max_token_bucketize #834

wants to merge 1 commit into from

Conversation

ling0322
Copy link
Contributor

This PR would fix a document issue in bucketbatcher.py
Fixes #831

According to current implementation, the unit of buffer_size in MaxTokenBucketizerIterDataPipe is samples not tokens.
Changed the document and replace tokens with samples
@facebook-github-bot facebook-github-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 Oct 17, 2022
@facebook-github-bot
Copy link
Contributor

@ejguan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@ejguan ejguan mentioned this pull request Oct 17, 2022
ejguan pushed a commit to ejguan/data that referenced this pull request Oct 21, 2022
Summary:
This PR would fix a document issue in bucketbatcher.py
Fixes pytorch#831

Pull Request resolved: pytorch#834

Reviewed By: NivekT

Differential Revision: D40430887

Pulled By: ejguan

fbshipit-source-id: e132a3a24e8d09815c36bba3ccd4ffaced7b17d4
ejguan pushed a commit that referenced this pull request Oct 21, 2022
Summary:
This PR would fix a document issue in bucketbatcher.py
Fixes #831

Pull Request resolved: #834

Reviewed By: NivekT

Differential Revision: D40430887

Pulled By: ejguan

fbshipit-source-id: e132a3a24e8d09815c36bba3ccd4ffaced7b17d4
ejguan pushed a commit to ejguan/data that referenced this pull request Oct 23, 2022
Summary:
This PR would fix a document issue in bucketbatcher.py
Fixes pytorch#831

Pull Request resolved: pytorch#834

Reviewed By: NivekT

Differential Revision: D40430887

Pulled By: ejguan

fbshipit-source-id: e132a3a24e8d09815c36bba3ccd4ffaced7b17d4
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.

document of parameter buffer_size in MaxTokenBucketizer is wrong
4 participants