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

Function wrapper

tests/unit/common.py:566–568  ·  view source on GitHub ↗
(*args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

564 def decorator(func: Callable) -> Callable:
565
566 def wrapper(*args: Any, **kwargs: Any):
567 with EnableDeterminism(seed):
568 return func(*args, **kwargs)
569
570 return wrapper
571

Callers

nothing calls this directly

Calls 2

EnableDeterminismClass · 0.85
funcFunction · 0.85

Tested by

no test coverage detected