MCPcopy Create free account
hub / github.com/NVlabs/InstantSplat / parallel_processes

Function parallel_processes

dust3r/utils/parallel.py:62–67  ·  view source on GitHub ↗

Same as parallel_threads, with processes

(*args, **kwargs)

Source from the content-addressed store, hash-verified

60
61
62def parallel_processes(*args, **kwargs):
63 """ Same as parallel_threads, with processes
64 """
65 import multiprocessing as mp
66 kwargs['Pool'] = mp.Pool
67 return parallel_threads(*args, **kwargs)
68
69
70def starcall(args):

Callers

nothing calls this directly

Calls 1

parallel_threadsFunction · 0.85

Tested by

no test coverage detected