Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
Signed-off-by: BoxiangW <[email protected]>
  • Loading branch information
BoxiangW authored Jan 25, 2025
1 parent 0b7dc18 commit 9188f9b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nemo/lightning/pytorch/strategies/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,6 @@ def parallelize_helper(module, mesh, mp_policy):

if dp_mesh.size() > 1:
assert dp_mesh.ndim == 1 # Hybrid-sharding not supported

# NOTE: Currently, the user is required to manually handle precision settings such as the `mp_policy` here
# because the model parallel strategy does not respect all settings of `Fabric(precision=...)` at the moment.

# Find transformer layers and apply parallelisms
parallelize_helper(model, dp_mesh, mp_policy)
Expand Down

0 comments on commit 9188f9b

Please sign in to comment.