Skip to content

Commit f761e98

Browse files
committed
fix the correct path for primus modules import
1 parent 2605608 commit f761e98

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

primus/backends/megatron/patches/ddp_overlap_compile_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import torch
2424

2525
from primus.core.patches import PatchContext, get_args, register_patch
26-
from primus.modules.module_utils import log_rank_0
26+
from primus.core.utils.module_utils import log_rank_0
2727

2828

2929
@register_patch(

primus/backends/megatron/patches/torch_compile_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"""
1313

1414
from primus.core.patches import PatchContext, get_args, register_patch
15-
from primus.modules.module_utils import log_rank_0
15+
from primus.core.utils.module_utils import log_rank_0
1616

1717

1818
@register_patch(

0 commit comments

Comments
 (0)