nvflare.lighter.poc_commands module

async_process(cmd_path, gpu_ids: List[int] | None = None)[source]
clean_poc(poc_workspace: str)[source]
client_gpu_assignments(clients: List[str], gpu_ids: List[int]) Dict[str, List[int]][source]
def_poc_parser(sub_cmd)[source]
get_cmd_path(poc_workspace, service_name, cmd)[source]
get_gpu_ids(user_input_gpu_ids, host_gpu_ids) List[int][source]
get_local_host_gpu_ids()[source]
get_nvflare_home() str[source]
get_package_command(cmd_type: str, poc_workspace: str, package_dir) str[source]
get_stop_cmd(poc_workspace: str, service_dir_name: str)[source]
get_upload_dir(poc_workspace: str) str[source]
handle_poc_cmd(cmd_args)[source]
is_poc(cmd_args) bool[source]
is_poc_ready(poc_workspace: str)[source]
prepare_env(gpu_ids: List[int] | None = None)[source]
prepare_examples(poc_workspace: str)[source]
prepare_poc(number_of_clients: int, poc_workspace: str)[source]
sort_package_cmds(cmd_type, package_cmds: list) list[source]
start_poc(poc_workspace: str, gpu_ids: List[int], excluded=None, white_list=None)[source]
stop_poc(poc_workspace: str, excluded=None, white_list=None)[source]
sync_process(cmd_path)[source]
validate_gpu_ids(gpu_ids: list, host_gpu_ids: list)[source]
validate_poc_workspace(poc_workspace: str)[source]