NVIDIA FLARE
latest
NVIDIA FLARE Overview
Key Features
Getting Started
Example Applications
Real-World Federated Learning
User Guide
Programming Best Practices
Programming Guide
Frequently Asked Questions
Contributing
API
nvflare package
Subpackages
nvflare.apis package
nvflare.app_common package
nvflare.app_opt package
nvflare.dashboard package
nvflare.fuel package
nvflare.ha package
nvflare.lighter package
nvflare.private package
nvflare.security package
nvflare.tool package
Subpackages
Submodules
Module contents
nvflare.widgets package
Submodules
Module contents
NVIDIA FLARE
»
nvflare
»
nvflare package
»
nvflare.tool package
»
nvflare.tool.package_checker package
»
nvflare.tool.package_checker.utils module
Edit on GitHub
nvflare.tool.package_checker.utils module
¶
class
NVFlareConfig
[source]
¶
Bases:
object
ADMIN
=
'fed_admin.json'
¶
CLIENT
=
'fed_client.json'
¶
OVERSEER
=
'gunicorn.conf.py'
¶
SERVER
=
'fed_server.json'
¶
class
NVFlareRole
[source]
¶
Bases:
object
ADMIN
=
'admin'
¶
CLIENT
=
'client'
¶
SERVER
=
'server'
¶
check_grpc_server_running
(
startup
:
str
,
host
:
str
,
port
:
int
,
token
=
None
)
→
bool
[source]
¶
check_overseer_running
(
startup
:
str
,
overseer_agent_args
:
dict
,
role
:
str
,
retry
:
int
=
3
)
→
Tuple
[
Optional
[
Response
]
,
Optional
[
str
]
]
[source]
¶
Checks if overseer is running.
check_response
(
resp
:
Optional
[
Response
]
)
→
bool
[source]
¶
check_socket_server_running
(
startup
:
str
,
host
:
str
,
port
:
int
)
→
bool
[source]
¶
parse_overseer_agent_args
(
overseer_agent_conf
:
dict
,
required_args
:
list
)
[source]
¶
run_command_in_subprocess
(
command
)
[source]
¶
split_by_len
(
item
,
max_len
)
[source]
¶
try_bind_address
(
host
:
str
,
port
:
int
)
[source]
¶
Tries to bind to address.
try_write_dir
(
path
:
str
)
[source]
¶