MCPcopy
hub / github.com/FedML-AI/FedML / get_fedml_args

Function get_fedml_args

python/fedml/core/mlops/__init__.py:552–560  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

550
551
552def get_fedml_args():
553 # init FedML framework
554 fedml._global_training_type = constants.FEDML_TRAINING_PLATFORM_CROSS_CLOUD
555 fedml._global_comm_backend = ""
556 fedml_args = fedml.init(check_env=False, should_init_logs=False)
557 fedml_args.version = fedml.get_env_version()
558 fedml_args.config_version = fedml.get_env_version()
559 print(f"current version {fedml_args.version}, {fedml_args.config_version}")
560 return fedml_args
561
562
563def push_artifact_to_s3(artifact: fedml.mlops.Artifact, version="release", show_progress=True):

Callers 5

log_print_startFunction · 0.85
log_print_endFunction · 0.85
log_artifactFunction · 0.85
log_metricFunction · 0.85
log_mlops_running_logsFunction · 0.85

Calls 1

initMethod · 0.65

Tested by

no test coverage detected