Skip to content

Commit a42744b

Browse files
Merge commit 'f0b4c2a90b0e4ce8ab24b1aece93dc2668427817' into chore/bump-mcore-dev-260812
2 parents 9667a3c + f0b4c2a commit a42744b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/unit_tests/training/test_gpt_step.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,10 @@ def current_apply_expert_bias(_self, routing_map, padding_mask=None):
760760

761761
def test_mcore_schedule_plan_routes_with_chunk_padding_mask(self, monkeypatch):
762762
"""The pinned MCore EP-overlap callable must pass its chunk-local router mask."""
763-
from megatron.core.models.common import fine_grained_callables
763+
try:
764+
from megatron.core.models.common import fine_grained_callables
765+
except ImportError:
766+
from megatron.core.models.gpt import fine_grained_callables
764767

765768
observed = {}
766769

0 commit comments

Comments
 (0)