Searched refs:pick_unused_port (Results 1 – 11 of 11) sorted by relevance
54 def pick_unused_port(): function62 port = portpicker.pick_unused_port()79 worker_ports = [pick_unused_port() for _ in range(num_workers)]80 ps_ports = [pick_unused_port() for _ in range(num_ps)]88 cluster_dict['evaluator'] = ['localhost:%s' % pick_unused_port()]90 cluster_dict['chief'] = ['localhost:%s' % pick_unused_port()]185 cluster_spec['chief'] = ['localhost:%s' % pick_unused_port()]188 'localhost:%s' % pick_unused_port() for _ in range(num_workers)192 'localhost:%s' % pick_unused_port() for _ in range(num_ps)195 cluster_spec['evaluator'] = ['localhost:%s' % pick_unused_port()]
37 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]38 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]
40 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]41 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]
43 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]44 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]
35 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]38 'ps': ['localhost:%s' % portpicker.pick_unused_port()]
52 service_port = portpicker.pick_unused_port()
203 cluster_spec[CHIEF] = ["localhost:%s" % portpicker.pick_unused_port()]206 "localhost:%s" % portpicker.pick_unused_port()211 "localhost:%s" % portpicker.pick_unused_port() for _ in range(num_ps)214 cluster_spec[EVALUATOR] = ["localhost:%s" % portpicker.pick_unused_port()]
59 worker_port = portpicker.pick_unused_port()
398 server_port = portpicker.pick_unused_port()
614 def pick_unused_port(): function
2679 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]2680 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]