MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / wrapped

Method wrapped

deepspeed/runtime/zero/partition_parameters.py:1571–1573  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1569 def allgather_before(func: Callable) -> Callable:
1570
1571 def wrapped(*args, **kwargs):
1572 param.all_gather()
1573 return func(*args, **kwargs)
1574
1575 return wrapped
1576

Callers 1

forwardMethod · 0.80

Calls 2

funcFunction · 0.85
all_gatherMethod · 0.45

Tested by 1

forwardMethod · 0.64