-
Notifications
You must be signed in to change notification settings - Fork 468
[training, perf] fix: THD-aware FLOPS via cu_seqlens (Σᵢ sᵢ²) #3839
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
0e3adfb
[training, perf] fix: THD-aware FLOPS via cu_seqlens (Σᵢ sᵢ²)
cuichenx 2edde36
Merge remote-tracking branch 'origin/main' into pr3839-thd-flops-conf…
yaoyu-33 a78f863
[training] fix: avoid flops metadata sync in forward
yaoyu-33 0494433
Merge branch 'main' into chcui/thd-flops-fix
yaoyu-33 11e0862
[training, perf] fix: DP-reduce THD FLOPS stats; address review
cuichenx a5b66d9
[training, perf] refactor: model-agnostic vision_patches arg for FLOPS
cuichenx 0631268
[training, perf] docs: correct vlm_step FLOPS comment re CP sub-seq p…
cuichenx d8dc0e0
[training, perf] fix: migrate qwen3_vl/omni step to vision_patches API
cuichenx c2dc357
[training, perf] refactor: rename vision_patches -> num_vision_patches
cuichenx e677391
[training, perf] fix: defer FLOPS reduce/sync off the per-step hot path
cuichenx fbd8bcf
[training, perf] fix: drop per-microbatch device sync in THD FLOPS ac…
cuichenx 025e7a8
[training, perf] fix: compute THD FLOPS Σᵢ sᵢ² on host cu_seqlens (no…
cuichenx 1965b7e
[training, perf] fix: defer THD Σᵢ sᵢ² off the per-microbatch forward…
cuichenx 2665cdc
[training, perf] fix: precompute THD Σᵢ sᵢ² in the dataloader (no per…
cuichenx 93cf6e2
[training, test] fix: update TestGetBatch for the 11-tuple get_batch …
cuichenx 1f81c5f
[training, perf] refactor: compute THD Σᵢ sᵢ² inline per microbatch
cuichenx 940e144
[test] chore: update FLOPS tests for inline per-microbatch THD
cuichenx 36dba54
[training, perf] fix: log interval-average THD throughput from cumula…
cuichenx d443d38
Merge branch 'main' into chcui/thd-flops-fix
yaoyu-33 82761e7
[training, perf] fix: only use cu_seqlens THD FLOPS path for CP==1
cuichenx 585800f
Merge branch 'main' into chcui/thd-flops-fix
gautham-kollu 5d61c29
Merge branch 'main' into chcui/thd-flops-fix
cuichenx 9d3f709
[data, tests] fix packed parquet existence check in CI
cuichenx d49dfdf
Revert "[data, tests] fix packed parquet existence check in CI"
cuichenx 8f9d4f5
[debug] add seqpacking CP CI diagnostics
cuichenx 004b734
[debug] trace seqpacking CP setup failure
cuichenx 2b8925c
[tests] fix seqpacking CP test memory use
cuichenx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
switch to use visual inputs