Skip to content

Commit 706d5cc

Browse files
authored
fix: nit return sd (#131)
Signed-off-by: Mehant Kammakomati <[email protected]>
1 parent c959c6b commit 706d5cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/accelerated-moe/src/fms_acceleration_moe/utils/checkpoint_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def get_state_dict_from_dcp_checkpoint(
235235
planner=_EmptyStateDictLoadPlanner(),
236236
no_dist=True,
237237
)
238-
return [KEY_MODEL]
238+
return sd[KEY_MODEL]
239239

240240

241241
# function to get state dict from regular checkoint

0 commit comments

Comments
 (0)