Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ wrapper
Function
wrapper
tests/unit/common.py:563–565 ·
view source on GitHub ↗
(*args: Any, **kwargs: Any)
Source
from the content-addressed store, hash-verified
561
def
decorator(func: Callable) -> Callable:
562
563
def
wrapper(*args: Any, **kwargs: Any):
564
with
EnableDeterminism(seed):
565
return
func(*args, **kwargs)
566
567
return
wrapper
568
Callers
2
test_output_equals_single_device
Method · 0.50
test_noneven_patches
Method · 0.50
Calls
2
EnableDeterminism
Class · 0.85
func
Function · 0.85
Tested by
2
test_output_equals_single_device
Method · 0.40
test_noneven_patches
Method · 0.40