MCPcopy Create free account
hub / github.com/espnet/espnet / test_default_work

Function test_default_work

test/espnet2/train/test_distributed_utils.py:27–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26
27def test_default_work():
28 parser = AbsTask.get_parser()
29 args = parser.parse_args([])
30 resolve_distributed_mode(args)
31 option = build_dataclass(DistributedOption, args)
32 option.init_options()
33 option.init_torch_distributed()
34
35
36def test_resolve_distributed_mode1(dist_init_method):

Callers

nothing calls this directly

Calls 5

resolve_distributed_modeFunction · 0.90
build_dataclassFunction · 0.90
init_optionsMethod · 0.80
get_parserMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…