MCPcopy Create free account
hub / github.com/MTLab/MorphMLP / run

Function run

slowfast/utils/multiprocessing.py:9–62  ·  view source on GitHub ↗

Runs a function from a child process. Args: local_rank (int): rank of the current process on the current machine. num_proc (int): number of processes per machine. func (function): function to execute on each of the process. init_method (string): method to ini

(
    local_rank,
    num_proc,
    func,
    init_method,
    shard_id,
    num_shards,
    backend,
    cfg,
    output_queue=None,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

putMethod · 0.45

Tested by

no test coverage detected