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

Function _unwrap_staticmethod

deepspeed/compile/patch_compiled_func.py:19–22  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

17
18
19def _unwrap_staticmethod(method):
20 if isinstance(method, staticmethod):
21 return method.__func__
22 return method
23
24
25if required_torch_version(min_version=2.7):

Callers 1

__new__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected