Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Jaliyae/chunk buffer fix#17409

Closed
jaliyae wants to merge 3 commits into
pytorch:masterfrom
jaliyae:jaliyae/chunk_buffer_fix
Closed

Jaliyae/chunk buffer fix#17409
jaliyae wants to merge 3 commits into
pytorch:masterfrom
jaliyae:jaliyae/chunk_buffer_fix

Conversation

@jaliyae
Copy link
Copy Markdown
Contributor

@jaliyae jaliyae commented Feb 22, 2019

The chunk buffer had a possibility to hang when no data is read and the buffer size is lower than chunk size. We detected this while running with larger dataset and hence the fix. I added a test to mimic the situation and validated that the fix is working. Thank you @Xueyun for finding this issue.

@jaliyae jaliyae force-pushed the jaliyae/chunk_buffer_fix branch from 822d613 to b85e41a Compare February 22, 2019 19:31
@soumith
Copy link
Copy Markdown
Collaborator

soumith commented Feb 22, 2019

@pytorchbot rebase this please

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@soumith is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@jaliyae
Copy link
Copy Markdown
Contributor Author

jaliyae commented Feb 23, 2019

Thank you!

laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
The chunk buffer had a possibility to hang when no data is read and the buffer size is lower than chunk size. We detected this while running with larger dataset and hence the fix. I added a test to mimic the situation and validated that the fix is working. Thank you Xueyun for finding this issue.
Pull Request resolved: pytorch#17409

Differential Revision: D14198546

Pulled By: soumith

fbshipit-source-id: b8ca43b0400deaae2ebb6601fdc65b47f32b0554
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants