MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / worker

Function worker

imperative/python/test/unit/utils/test_profiler.py:95–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93
94 @dist.launcher(n_gpus=2)
95 def worker():
96 infer()
97
98 with Profiler(profile_prefix, format=format):
99 worker()

Callers 1

test_profiler_distFunction · 0.70

Calls 1

inferFunction · 0.70

Tested by

no test coverage detected