a54f4ce19e6013259ad42ed3ac7c47eb40821dca,slm_lab/experiment/control.py,Trial,parallelize_sessions,#Trial#Any#,134

Before Change


        workers = []
        for _s in range(self.spec["meta"]["max_session"]):
            spec_util.tick(self.spec, "session")
            w = mp.Process(target=mp_run_session, args=(deepcopy(self.spec), global_nets, mp_dict))
            w.start()
            workers.append(w)
        for w in workers:
            w.join()

After Change


        spec = deepcopy(self.spec)
        for _s in range(spec["meta"]["max_session"]):
            spec_util.tick(spec, "session")
            w = mp.Process(target=mp_run_session, args=(spec, global_nets, mp_dict))
            w.start()
            workers.append(w)
        for w in workers:
            w.join()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: kengz/SLM-Lab
Commit Name: a54f4ce19e6013259ad42ed3ac7c47eb40821dca
Time: 2019-06-11
Author: kengzwl@gmail.com
File Name: slm_lab/experiment/control.py
Class Name: Trial
Method Name: parallelize_sessions


Project Name: lcswillems/torch-rl
Commit Name: 07089540d6d6f770f9f5ca1c6e51f93f2c1a5256
Time: 2018-06-12
Author: lcswillems@gmail.com
File Name: torch_rl/torch_rl/utils/penv.py
Class Name: ParallelEnv
Method Name: __init__


Project Name: dask/distributed
Commit Name: 7bd20263811df7419725f3f0cd06b29578fe3dff
Time: 2018-03-30
Author: mrocklin@gmail.com
File Name: distributed/nanny.py
Class Name: Nanny
Method Name: memory_monitor


Project Name: Netflix/vmaf
Commit Name: 1b307f24d79e8b4a4791f5dfd5ccb2b7610553ec
Time: 2016-02-01
Author: zli@netflix.com
File Name: python/quality_runner.py
Class Name: QualityRunner
Method Name: run


Project Name: Microsoft/nni
Commit Name: 62d5812d50e03e6f65f220317b03477327af311c
Time: 2020-11-27
Author: 33053116+J-shang@users.noreply.github.com
File Name: nni/tools/nnictl/command_utils.py
Class Name:
Method Name: kill_command