MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / is_replicated

Method is_replicated

deepspeed/runtime/engine.py:1000–1003  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

998 def _broadcast_model(self):
999
1000 def is_replicated(p):
1001 if hasattr(p, "ds_status") and p.ds_status is not ZeroParamStatus.AVAILABLE:
1002 return False
1003 return True
1004
1005 for p in self.module.parameters():
1006 # Broadcast the model for different parameters

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected