forked from NVIDIA/Megatron-LM
-
Notifications
You must be signed in to change notification settings - Fork 30
[CICD] Expand Metax core unit coverage for Megatron #58
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 205 commits
Commits
Show all changes
228 commits
Select commit
Hold shift + click to select a range
9666d79
test: improve core unit coverage
AlexMa616 2036f99
ci: fix cuda-only unit test condition
AlexMa616 d8f587a
ci: remove cuda-only matrix conditions
AlexMa616 97a9a0c
test: focus coverage changes on training
AlexMa616 064e3fb
ci: run unit test matrix sequentially
AlexMa616 288334c
ci: keep unit test matrix parallel
AlexMa616 c88312c
test: expand theoretical memory coverage
AlexMa616 de83600
test: raise training coverage for arguments and configs
AlexMa616 0fa0fd0
test: fix yaml argument namespace collision
AlexMa616 c428c98
test: avoid yaml namespace duplicate keys
AlexMa616 9aee133
test: expand training utility coverage
AlexMa616 09466d4
test: cover training async and logging helpers
AlexMa616 3b4c013
test: cover training arguments and checkpoint helpers
AlexMa616 793b958
test: avoid mpu dependency in checkpoint path test
AlexMa616 c8343a4
test: fix checkpoint transpose shape fixture
AlexMa616 c0d8d07
test: isolate checkpoint cleanup from distributed rank
AlexMa616 ab3f712
test: harden training coverage helpers
AlexMa616 640bbe9
test: expand training coverage safely
AlexMa616 fec9e66
test: broaden training coverage paths
AlexMa616 3ff3d7d
test: fix training sample expectation
AlexMa616 40050be
test: align data loader phase sample setup
AlexMa616 bb083df
test: align validation iterator expectations
AlexMa616 918721b
test: limit dummy train rerun loop
AlexMa616 2cc3a60
test: harden coverage helper fakes
AlexMa616 e57f2d9
test: broaden training loop coverage
AlexMa616 1fb2522
test: reduce cpu offloading gpu pressure
AlexMa616 e6c76fe
test: expand training coverage paths
AlexMa616 98ad590
test: fix train step scheduler increment expectation
AlexMa616 9dbf07d
test: add eval iters to train flow fake args
AlexMa616 c83e77b
test: harden training coverage fakes
AlexMa616 4351d8a
test: align skipped iteration sample accounting
AlexMa616 3eab235
test
AlexMa616 6f48d0e
test1
AlexMa616 37c63fa
test2
AlexMa616 6298ec6
test3
AlexMa616 a97ccc6
test4
AlexMa616 47738e9
test5
AlexMa616 a9fe701
test6
AlexMa616 b4530db
test7
AlexMa616 b18f331
test8
AlexMa616 18a574a
Fix test_load_biencoder_checkpoint_can_load_only_query_model to avoid…
AlexMa616 fc8b5d8
test9
AlexMa616 2e95382
test: fix biencoder checkpoint coverage setup
AlexMa616 725a48d
test: avoid duplicate yaml config keys
AlexMa616 ffc258a
update GOLDEN_CONFIG to fix CI config drift
AlexMa616 2cb0e8f
test: improve Metax core coverage
AlexMa616 40895ff
test: stabilize Metax CI cases
AlexMa616 d5e6b10
test: handle Metax CI compatibility gaps
AlexMa616 f0db30e
test: fix Metax core and Mamba MoE cases
AlexMa616 7d87937
test: make NVTX decorator test dependency independent
AlexMa616 73ae489
test: add lightweight Metax core coverage
AlexMa616 1edd465
test: fix MIMO config lightweight coverage
AlexMa616 945af4d
test: fix dynamic inference event coverage
AlexMa616 afaadc2
test: expand stable Metax core coverage
AlexMa616 3178142
test: broaden stable core coverage paths
AlexMa616 7d932ff
test: expand stable Metax core training coverage
AlexMa616 59e5500
test: relax timer sync count assertion
AlexMa616 773699e
test: stabilize dynamic inference coverage
AlexMa616 7f460d7
test: avoid fake stream tensor record path
AlexMa616 ab99b7c
test: fix dict utils matching expectations
AlexMa616 9d515de
test: align dict utils merge coverage
AlexMa616 f38bc7a
test: fix nonpersistent extraction index
AlexMa616 c57f23c
test: harden core coverage isolation
AlexMa616 33ab31f
test: use slice for fake flattened ranges
AlexMa616 8349339
test: exercise offload bulk queue flow
AlexMa616 68741b1
test: align sharded tensor rank offset axis
AlexMa616 fac7a79
test: align cuda graph token count expectations
AlexMa616 5d491d9
test: limit unit matrix to core while stabilizing
AlexMa616 dc6c61e
test: avoid tensor boolean in all gather mock
AlexMa616 b4dc9cd
test: keep core version helpers comparable
AlexMa616 07daa12
test: align packed seq padded index expectation
AlexMa616 1f5f7e3
test: reach train sample assertion path
AlexMa616 cdb847b
test: extend core lightweight coverage
AlexMa616 c3ed723
test: expand high-yield core coverage
AlexMa616 956684c
test: use valid ddp fp32 accumulation config
AlexMa616 a6b4090
test: cover lightweight inference server and masked dataset
AlexMa616 c21d6d6
test: align completions engine call assertion
AlexMa616 e84a946
test
AlexMa616 a3e7719
test: fix rotary interleaved guard case
AlexMa616 270ed4b
test: avoid unsupported overlap p2p arg
AlexMa616 5e088dc
test: allow falsey no load optim default
AlexMa616 62b76de
test: use type fake for blended dataset
AlexMa616 5578ac1
test: restore checkpoint isfile for msc branch
AlexMa616 f1b0f3f
test: cover layer-wise optimizer cpu paths
AlexMa616 f4be65e
test: expand dynamic context cpu coverage
AlexMa616 19adde0
test: cover dynamic engine request lifecycle paths
AlexMa616 f01fd41
test: cover dynamic text generation internals
AlexMa616 2e75282
test: cover distributed optimizer cpu maps
AlexMa616 470bffd
test: cover cuda graph cpu helpers
AlexMa616 6bf48a1
test: cover dynamic engine graph setup paths
AlexMa616 8de30a5
test: cover cuda graph runner and fsdp buffer helpers
AlexMa616 d5ce4ae
test: cover dynamic engine scheduling cleanup paths
AlexMa616 1941d96
test: cover dynamic engine request lifecycle paths
AlexMa616 9e2926d
test: cover cuda graph global lifecycle paths
AlexMa616 a9d6b6b
test: cover checkpoint argument loading paths
AlexMa616 19c11bb
test: keep dynamic context cpu cache path unfused
AlexMa616 0c276e6
test: add chunked prefill flag to dynamic context fake
AlexMa616 2e854e6
test: match dynamic engine byte formatting
AlexMa616 8a64b2b
test: make dynamic engine graph timing mocks reusable
AlexMa616 8be7755
test: cover dynamic text generation server lifecycle
AlexMa616 ec41814
test: cover kv block allocator cpu paths
AlexMa616 a63fcd3
test: cover hybrid cp data schedule paths
AlexMa616 0f522e1
test: cover training grad finalization helpers
AlexMa616 258db02
test: cover hybrid cp scheduling paths
AlexMa616 e1146ea
test: cover pipeline p2p communicator paths
AlexMa616 7022bcd
test: cover fsdp mixed precision helpers
AlexMa616 8c41c20
test: cover fsdp param grad buffer core paths
AlexMa616 6af1b09
test: cover pipeline schedule no-pipeline paths
AlexMa616 255d976
test: cover distributed optimizer state paths
AlexMa616 cfa9f8c
test: cover optimizer wrapper training paths
AlexMa616 cf83da4
test: accept tensor bool memory availability
AlexMa616 df69ebb
test: expect decorated server backend exit
AlexMa616 febfef1
test: import clip grads module explicitly
AlexMa616 cf2c95b
test: patch clip grad function globals
AlexMa616 177e1f3
test: load clip grads module directly
AlexMa616 7f4d5b0
test: bypass clip grads override wrappers
AlexMa616 e00278b
test: load grad modules by source path
AlexMa616 561ecf1
test: mock fsdp grad without parameter descriptor
AlexMa616 581fdec
test: expect averaged no-pipeline loss
AlexMa616 5633687
test: stub missing ring exchange op
AlexMa616 8919d8e
test: write p2p mock tensors without grad
AlexMa616 89372b1
test: cache fsdp global buffer mock tensors
AlexMa616 c0fe396
test: name fsdp expert param path correctly
AlexMa616 9e4168c
test: broaden core training CPU coverage
AlexMa616 b6480f4
test: broaden core optimizer and transformer coverage
AlexMa616 7e9aa46
test: broaden core and training coverage surface
AlexMa616 dfd17bf
test: expand core CPU coverage across training paths
AlexMa616 604b5b8
test: stabilize timer elapsed clock
AlexMa616 e98d3db
test: preserve timer values in gather mock
AlexMa616 f1b2dcc
test: isolate checkpoint exchange gather scenarios
AlexMa616 a2e1505
test: configure precision-aware optimizer derived flag
AlexMa616 a532096
test: avoid metax gc teardown aborts
AlexMa616 15f61a2
test: restore optimizer state without autograd
AlexMa616 feee5ed
test: release fsdp bucket before shard allocation
AlexMa616 bb24fa0
test: model fsdp expert parameter naming
AlexMa616 3f4e4a0
test: use hashable protected param override
AlexMa616 53bdf53
test: use valid fp32 optimizer configuration
AlexMa616 2ffe0c8
test: mirror optimizer constructor signatures
AlexMa616 b8d5e3f
test: use primary optimizer instance for engram
AlexMa616 e44773a
test: model parallel process group interface
AlexMa616 be8b05c
test: pass virtual pipeline stage explicitly
AlexMa616 32b8fdf
test: reach multimodule cycle validation
AlexMa616 b5df9b6
test: provide model config for process groups
AlexMa616 d335cb7
test: stabilize remaining CPU coverage paths
AlexMa616 d209481
test: relax tensor parallel wrapper value check
AlexMa616 5d77f70
test: snapshot tensor parallel reduce expectation
AlexMa616 ed4ebac
test: assert tensor parallel layout transforms
AlexMa616 f8fa6bc
test: avoid brittle theoretical memory ordering
AlexMa616 532dd9c
test: isolate tensor parallel RNG tracker state
AlexMa616 5fca9fa
ci: restore full unit test matrix
AlexMa616 983f3be
ci: enable transformer unit test group
AlexMa616 01cbf5b
ci: keep transformer unit group disabled
AlexMa616 9687856
ci: align CUDA and Metax coverage scope
AlexMa616 e2e00a2
test: complete dynamic context rotary config
AlexMa616 13b0573
test: isolate clip grad torch factories
AlexMa616 eaad420
test: isolate grad finalization coverage state
AlexMa616 0ebc7fb
test: stabilize core grad and mamba config cases
AlexMa616 b288452
Merge branch 'main' into metax-test
AlexMa616 d291624
test: provide tp group for fp32 optimizer coverage
AlexMa616 a136318
ci: restore Metax functional artifact mounts
AlexMa616 765dc36
test: fix chained optimizer norm expectation
AlexMa616 d5bfe27
test: fix distributed optimizer shard expectation
AlexMa616 2e7d2b6
test: update Metax benchmark golden platform to C550
AlexMa616 65b1081
ci: isolate unstable Megatron FSDP tests
AlexMa616 7649302
ci: preserve unit groups when isolating FSDP
AlexMa616 6f315ac
ci: minimize A100 FSDP stabilization
AlexMa616 eaf3e37
test: enable distributed mode for precision-aware optimizer
AlexMa616 ce64c6e
test: make optimizer override inputs explicit
AlexMa616 e36d6de
test: isolate saved mixed precision parameters
AlexMa616 ffde6dd
ci: skip sporadic A100 sequence gather OOM
AlexMa616 889066b
test: reset optimizer shard views without autograd
AlexMa616 a74aff8
fix: disable autograd during reshardable optimizer load
AlexMa616 793f1aa
fix: avoid expert group lookup for non-MoE state
AlexMa616 1d5fbaf
test: use actual free memory for SwiGLU OOM path
AlexMa616 6e975e3
test: align synthetic FSDP optimizer state keys
AlexMa616 e833243
test: isolate synthetic FSDP optimizer paths
AlexMa616 1072659
test: tolerate missing NCCL premul helper
AlexMa616 dda8c3f
test: avoid shared GPU memory exhaustion
AlexMa616 4d51650
test: synchronize bridge communicator teardown
AlexMa616 0c4990c
test: bind torchrun workers to local devices
AlexMa616 9bea167
test: stabilize FSDP DCP metadata exchange
AlexMa616 f859d9a
test: reduce heterogeneous GPT forward memory
AlexMa616 c359b76
test: isolate chained optimizer TP state
AlexMa616 9ca5060
test: fix layer-wise optimizer shard expectations
AlexMa616 5ed04d9
test: isolate compiler caches per torchrun rank
AlexMa616 49e47ba
ci: resolve Qwen tokenizer artifact paths
AlexMa616 ad78f29
ci: accept mounted Hugging Face tokenizer assets
AlexMa616 8923823
ci: temporarily skip metax tp2 pp2 benchmark
AlexMa616 3e79240
test: allow portable qwen functional loss tolerance
AlexMa616 f4858d6
ci: temporarily disable FlagScale PR trigger
AlexMa616 e435648
ci: make FlagScale tests manual only
AlexMa616 6498309
test: stabilize fused MLA RoPE inputs
AlexMa616 5ad0124
Merge remote-tracking branch 'upstream/main' into metax-test
AlexMa616 281cb84
test: tolerate sparse MLA RoPE bf16 outliers
AlexMa616 59a9572
test: prioritize native coverage for training and plugins
AlexMa616 cef5b6b
test: preserve focused training regressions
AlexMa616 5fa7f8c
test: retain sys import for plugin lazy resolution
AlexMa616 6db68d6
fix: make platform capability checks portable
AlexMa616 f7ceeed
test: remove coverage duplicated by native training suites
AlexMa616 727a4b6
fix: resolve MoE tracker from its owning module
AlexMa616 2546f91
test: cover hetero plugin mesh communication paths
AlexMa616 5cb936d
ci: skip unstable A100 MLA RoPE SBHD split cases
AlexMa616 d1f70c7
test: initialize bare hetero parallel context state
AlexMa616 9d72175
test: expand plugin platform and hetero context coverage
AlexMa616 8d6fa2c
test: stabilize mocked txda and mla rope fusion ci
AlexMa616 a289ffd
ci: clean up tokenizer and plugin test wiring
AlexMa616 6bc8c34
ci: keep plugin coverage in core unit group
AlexMa616 f473f10
test: avoid unnecessary layer-wise optimizer source change
AlexMa616 5f06a3e
test: remove redundant expert offset guard
AlexMa616 dfadbcf
plugin: clarify cuda nvml metric fallback
AlexMa616 649f758
plugin: expose cuda nvml metric errors
AlexMa616 d9a470f
test: cover fp32 dp reshardable optimizer load
AlexMa616 12f2f2c
test: revert unproven core source changes
AlexMa616 04e4668
retest
AlexMa616 8c76c9e
retest1
AlexMa616 b12c799
retest3
AlexMa616 ea2146c
retest4
AlexMa616 b7b5213
test: avoid duplicate experimental pytest option
AlexMa616 f612c80
ci: expand mixed core test paths correctly
AlexMa616 284dcda
test: skip platform monitoring checks without pynvml
AlexMa616 de73109
test: synchronize unit test data setup across ranks
AlexMa616 08b5267
ci: tolerate optional metax optimizer dependency failure
AlexMa616 4a223ae
ci: skip optional emerging optimizers on metax
AlexMa616 cf66b55
test: skip dist checkpointing muon tests without emerging optimizers
AlexMa616 6187249
ci: retrigger metax tests
AlexMa616 8653079
test: relax mocked npu mstx signatures
AlexMa616 601fcb8
test: harden mocked npu mstx backend
AlexMa616 b1017e0
test: cover cpu fp16 mkldnn probe paths
AlexMa616 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.
Can we just put the tokenizer path inside the test config file? And make sure the workflow is clean. Besides, this is not a "Qwen" test
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.
updated