Add opt-in background collation for BaseDistLoader#512
Draft
kmontemayor2-sc wants to merge 3 commits intomainfrom
Draft
Add opt-in background collation for BaseDistLoader#512kmontemayor2-sc wants to merge 3 commits intomainfrom
kmontemayor2-sc wants to merge 3 commits intomainfrom
Conversation
Move _collate_fn execution to a daemon thread so it overlaps with GPU training. Controlled by a new background_collation_queue_size parameter (None = disabled, positive int = buffer depth). The thread continuously recv→collate→enqueue while the main thread dequeues pre-collated batches. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
|
/all_test |
Contributor
GiGL Automation@ 23:02:05UTC : 🔄 @ 24:21:44UTC : ✅ Workflow completed successfully. |
Contributor
GiGL Automation@ 23:02:06UTC : 🔄 @ 23:11:01UTC : ✅ Workflow completed successfully. |
Contributor
GiGL Automation@ 23:02:08UTC : 🔄 @ 24:26:48UTC : ✅ Workflow completed successfully. |
Contributor
GiGL Automation@ 23:02:08UTC : 🔄 @ 23:09:05UTC : ✅ Workflow completed successfully. |
Contributor
GiGL Automation@ 23:02:10UTC : 🔄 @ 24:14:14UTC : ✅ Workflow completed successfully. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move _collate_fn execution to a daemon thread so it overlaps with GPU training. Controlled by a new background_collation_queue_size parameter (None = disabled, positive int = buffer depth). The thread continuously recv→collate→enqueue while the main thread dequeues pre-collated batches.
Scope of work done
Where is the documentation for this feature?: N/A
Did you add automated tests or write a test plan?
Updated Changelog.md? NO
Ready for code review?: NO