Skip to content

Commit

Permalink
Merge branch 'master' into alvieirajr-swapping
Browse files Browse the repository at this point in the history
  • Loading branch information
tjruwase authored Apr 25, 2024
2 parents 71d4c84 + fcc731f commit fe8d400
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepspeed/runtime/zero/partitioned_param_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def get_all_parameters(sub_module, recurse=False):
return itertools.chain(sub_module.named_parameters(recurse=recurse), sub_module.ds_external_parameters())


@compiler.disable
def iter_params(module: Module, recurse=False) -> Iterable[Parameter]:
return map(lambda pair: pair[1], get_all_parameters(module, recurse))

Expand Down

0 comments on commit fe8d400

Please sign in to comment.