MCPcopy
hub / github.com/dmlc/dgl / get_launch_cmd

Function get_launch_cmd

tools/dispatch_data.py:28–35  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

26
27
28def get_launch_cmd(args) -> str:
29 cmd = sys.executable + " " + os.path.join(INSTALL_DIR, LAUNCH_SCRIPT)
30 cmd = f"{cmd} --{LARG_SSH_PORT} {args.ssh_port} "
31 cmd = f"{cmd} --{LARG_PROCS_MACHINE} 1 "
32 cmd = f"{cmd} --{LARG_IPCONF} {args.ip_config} "
33 cmd = f"{cmd} --{LARG_MASTER_PORT} {args.master_port} "
34
35 return cmd
36
37
38def submit_jobs(args) -> str:

Callers 1

submit_jobsFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected