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

Method ids_list

deepspeed/runtime/engine.py:1093–1094  ·  view source on GitHub ↗
(group)

Source from the content-addressed store, hash-verified

1091 param_id = id(param)
1092
1093 def ids_list(group):
1094 return [id(param) for param in group]
1095
1096 occurrence = sum([
1097 ids_list(group['params']).count(param_id) if param_id in ids_list(group['params']) else 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected