Skip to content

Commit 76c35e8

Browse files
author
yexin
committed
fix import path
1 parent 8cb3662 commit 76c35e8

File tree

1 file changed

+1
-1
lines changed
  • checkpoint_engine/distributed

1 file changed

+1
-1
lines changed

checkpoint_engine/distributed/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def init_process_group(
150150
raise ValueError(f"Unsupported device type: {backend}")
151151

152152
module_path, class_name = mapping[backend].rsplit(".", 1)
153-
module = importlib.import_module(module_path, ".checkpoint_engine.distributed")
153+
module = importlib.import_module(module_path, "checkpoint_engine.distributed")
154154
backend_class = getattr(module, class_name)
155155

156156
_BACKEND_INSTANCE = backend_class()

0 commit comments

Comments
 (0)