4f02bb751b312aec02eab82737382f1f94829a4a,tests/pytorch/test_kvstore.py,,,#,96
Before Change
client.shut_down()
if __name__ == "__main__":
server_embed = th.tensor([2., 2., 2., 2., 2.])
// use pytorch shared memory
server_embed.share_memory_()
pid = os.fork()
After Change
p4 = Process(target=start_client, args=(True,))
p5 = Process(target=start_client, args=(True,))
p6 = Process(target=start_client, args=(False,))
p7 = Process(target=start_client, args=(False,))
// start server process
p0.start()
p1.start()
p2.start()
p3.start()
// start client process
p4.start()
p5.start()
p6.start()
p7.start()
p0.join()
p1.join()
p2.join()
p3.join()
p4.join()
p5.join()
p6.join()
p7.join()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: dmlc/dgl
Commit Name: 4f02bb751b312aec02eab82737382f1f94829a4a
Time: 2019-12-29
Author: mctt90@gmail.com
File Name: tests/pytorch/test_kvstore.py
Class Name:
Method Name:
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 2c7b32a9534b0a5be7f1cf83b84836ab532d5f2a
Time: 2018-08-08
Author: tohaowu@google.com
File Name: perfkitbenchmarker/windows_packages/iperf3.py
Class Name:
Method Name: _RunIperf3ServerClientPair
Project Name: automl/auto-sklearn
Commit Name: 8442321b9b7a7cef7e3806b525965c36cea1549e
Time: 2020-09-25
Author: feurerm@informatik.uni-freiburg.de
File Name: examples/60_search/example_parallel_manual_spawning.py
Class Name:
Method Name: