Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Mayank Mishra <[email protected]>
  • Loading branch information
mayank31398 committed Oct 7, 2024
1 parent 5623a28 commit 3b31f56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dolomite_engine/hf_models/modeling_utils_TP/TP.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def modify_state_dict_to_dtensor_dict(module: nn.Module, state_dict: dict, prefi
device_mesh = param.device_mesh
placements = param.placements
result[key] = DTensor.from_local(tensor, device_mesh=device_mesh, placements=placements)

return result


Expand Down

0 comments on commit 3b31f56

Please sign in to comment.