Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .main.commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8c815a4c98725726d27358847d291288b736f6bd
a98aed553e25b4e86c59f50be54ac0ea4227b442
2 changes: 1 addition & 1 deletion 3rdparty/Megatron-LM
Submodule Megatron-LM updated 26 files
+47 −0 docs/api-guide/core/pipeline_parallel.md
+7 −0 docs/user-guide/deterministic-training.md
+12 −0 docs/user-guide/features/dist_optimizer.md
+9 −0 megatron/core/inference/model_inference_wrappers/abstract_model_inference_wrapper.py
+9 −0 megatron/core/models/gpt/gpt_model.py
+7 −1 megatron/core/models/hybrid/hybrid_block.py
+6 −0 megatron/core/models/hybrid/hybrid_model.py
+23 −5 megatron/core/optimizer/distrib_optimizer.py
+23 −34 megatron/core/pipeline_parallel/p2p_communication.py
+19 −3 megatron/core/pipeline_parallel/schedules.py
+34 −2 megatron/core/ssm/gated_delta_net/common.py
+6 −0 megatron/core/transformer/transformer_block.py
+3 −9 megatron/core/transformer/transformer_config.py
+142 −0 tests/functional_tests/test_cases/hybrid/hybrid_mhc_tp1_pp2_vpp2_empty_mtp/golden_values_dev_dgx_gb200.json
+70 −0 tests/functional_tests/test_cases/hybrid/hybrid_mhc_tp1_pp2_vpp2_empty_mtp/model_config.yaml
+142 −0 tests/functional_tests/test_cases/hybrid/hybrid_mhc_tp2_pp2_mtp/golden_values_dev_dgx_gb200.json
+71 −0 tests/functional_tests/test_cases/hybrid/hybrid_mhc_tp2_pp2_mtp/model_config.yaml
+81 −0 tests/test_utils/recipes/gb200/mamba.yaml
+35 −0 tests/unit_tests/determinism/kernels/test_ssm_kernels.py
+29 −0 tests/unit_tests/inference/model_inference_wrappers/test_abstract_model_inference_wrapper.py
+30 −1 tests/unit_tests/models/test_hybrid_mhc.py
+155 −0 tests/unit_tests/optimizer/test_distrib_optimizer_mixed_precision.py
+455 −0 tests/unit_tests/pipeline_parallel/test_pp_mhc_compatibility.py
+254 −0 tests/unit_tests/pipeline_parallel/test_pp_mhc_dsv4_shapes.py
+7 −1 tests/unit_tests/ssm/test_gated_delta_net.py
+13 −13 tests/unit_tests/transformer/test_hyper_connection_recompute.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
#!/bin/bash
set -xeuo pipefail # Exit immediately if a command exits with a non-zero status

REPO_ROOT=$(cd "$(dirname "$0")/../../../../.." && pwd)

export CUDA_VISIBLE_DEVICES="0,1"

uv run coverage run --data-file=/opt/Megatron-Bridge/.coverage --source=/opt/Megatron-Bridge/ --parallel-mode -m pytest \
uv run coverage run --data-file="${REPO_ROOT}/.coverage" --source="${REPO_ROOT}" --parallel-mode -m pytest \
-o log_cli=true -o log_cli_level=INFO -v -s -x -m "not pleasefixme" --tb=short -rA \
tests/functional_tests/test_groups/models/bert/test_bert_conversion.py
coverage combine -q
Loading