comet-ml 3.58.0__tar.gz → 3.58.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {comet_ml-3.58.0 → comet_ml-3.58.2}/PKG-INFO +2 -2
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/config/config_map.py +5 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/console.py +51 -5
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/experiment.py +12 -1
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/git_logging.py +32 -6
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/ray/callback.py +128 -44
- comet_ml-3.58.2/comet_ml/integration/ray/callback_helpers.py +40 -0
- comet_ml-3.58.2/comet_ml/integration/ray/controller_flush_patcher.py +153 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/ray/flatten_dictionary.py +1 -1
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/ray/trainer_logger.py +5 -2
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/ray/trial_result_logger.py +11 -2
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/ray/trial_save_logger.py +4 -3
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/ray/worker_decorator.py +6 -3
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/ray/worker_logger.py +16 -8
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml.egg-info/PKG-INFO +2 -2
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml.egg-info/SOURCES.txt +1 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml.egg-info/requires.txt +1 -1
- {comet_ml-3.58.0 → comet_ml-3.58.2}/setup.py +6 -2
- comet_ml-3.58.0/comet_ml/integration/ray/callback_helpers.py +0 -18
- {comet_ml-3.58.0 → comet_ml-3.58.2}/MANIFEST.in +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/README.rst +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/_jupyter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/_logging.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/_online.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/_reporting.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/_typing.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/_ui.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/annotations.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/announcements/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/announcements/api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/announcements/checkers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/announcements/view.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_helpers/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_helpers/experiment_key.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_helpers/metric_dataframes.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_key/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_key/base64_helper.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_key/comet_api_key.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/api_objects_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/model/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/model/assets_list.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/model/model.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/model/model_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/model/remote_model.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/model/status_configuration.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/setup_client.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/api_objects/view.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/artifact.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/artifact_asset.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/artifact_assets_downloader.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/artifact_getter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/artifact_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/artifact_name.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/hf_dataset/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/hf_dataset/dataset_factory.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/hf_dataset/helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/hf_dataset/metadata.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/logged_artifact.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/artifacts/logged_artifact_asset.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/assets/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/assets/asset_item.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/assets/assets_helper.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/assets/data_writers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/assets/preprocess.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/atexit_hooks/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/atexit_hooks/api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/atexit_hooks/conditional_callable.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/authhook/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/authhook/aws_sagemaker.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/backend_response_helper.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/batch_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/bootstrap/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/bootstrap/sitecustomize.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/callbacks/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/callbacks/_base.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/callbacks/_fastai.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/callbacks/_keras.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/callbacks/_lgbm.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/callbacks/_tensorflow_estimator.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/callbacks/_tensorflow_keras.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/callbacks/_xgboost.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/cli_args_parse.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/cloud_storage_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/comet_start/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/comet_start/comet_start.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/comet_start/config_manager.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/comet_start/experiment_config.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/comet_start/experiment_factory.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/comet_start/experiment_status.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/comet_start/experiments_matcher.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/comet_start/init_parameters.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/comet_start/start_modes.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/common_experiment.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/config/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/config/config_api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/config/config_class.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/config/config_constants.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/config/config_helper.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/config/config_init.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/config/config_io.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/config/streamlit_config.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/confusion_matrix.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/ca_certs.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/connection_api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/connection_factory.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/connection_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/connection_monitor.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/connection_upload.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/connection_url_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/http_adapters.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/http_session.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/offset_counter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/connection/retry_with_full_jitter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/constants.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/convert_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/data_structure.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/dataclasses/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/dataclasses/experiment_info.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/dataclasses/hidden_api_key.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/debug/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/debug/debug_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/debug/debug_options.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/env_logging.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/before_send.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/environment_details.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/error_filtering/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/error_filtering/filter_chain.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/error_filtering/filter_count_handler.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/error_filtering/filter_invalid_api_key_handler.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/error_filtering/filter_throttling_handler.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/error_filtering/handler.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/error_filtering/sentry_filtering.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/logger_setup.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/shutdown.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/types.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/error_tracking/user_details.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/event_tracker.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/exceptionhook.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/exceptions.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/experiment_loggers/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/experiment_loggers/optimization.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/experiment_loggers/points_3d/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/experiment_loggers/points_3d/log.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/experiment_loggers/points_3d/math_3d.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/experiment_loggers/points_3d/randomize.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/experiment_loggers/points_3d/thumbnail.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/experiment_storage.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/feature_toggles.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/file_downloader.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/file_upload_limits_guard.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/file_upload_manager.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/file_upload_size_monitor.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/file_uploader.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/file_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/flatten_dict/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/flatten_dict/exclusions.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/flatten_dict/flattener.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/flatten_dict/key_reducer.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/generalized_equality.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/gs_bucket_info.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/handshake.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/heartbeat.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/inspect.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/gymnasium/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/gymnasium/comet_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/kubeflow/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/metaflow/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/metaflow/comet_decorator.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/metaflow/logging_messages.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/metaflow/single_card_list.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/constants.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/model_loading_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/model_logging_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/model_metadata.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/public_api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/types.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/watch/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/watch/api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/watch/parameter_after_backward_hook.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/pytorch/watch/tensor_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/ray/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/ray/_version_compat.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sagemaker/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sagemaker/log_to_experiment.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sagemaker/public_api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sagemaker/types.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sanitation/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sanitation/kubeflow.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sanitation/metaflow.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sanitation/vertex.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sanitation/vertex_kubeflow.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/comet_metadata.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/load_from.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/log_to_experiment.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/model_processor.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/persistence/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/persistence/dispatcher.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/persistence/dumper.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/persistence/loader.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/sklearn/persistence/module_metadata.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/snowflake/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/snowflake/load_from.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/snowflake/log_to_experiment.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/spacy/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/vertex/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/vertex/api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/vertex/environment_creator.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/vertex/key_sharing.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/vertex/version_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/integration/vertex/vertex_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/json_encoder.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/fastai_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/keras_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/lightgbm_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/logger_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/mlflow_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/prophet_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/pytorch_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/pytorch_tensorboard/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/pytorch_tensorboard/logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/pytorch_tensorboard/summary_writer_arg_parsers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/shap_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/sklearn_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/tensorboard_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/tensorflow_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/tfma_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/loggers/xgboost_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/callback/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/callback/base_callback.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/callback/callback_factory.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/callback/throttling_error_callback.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/filters/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/filters/log_filter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/filters/log_filter_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/filters/log_filter_setup.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/filters/log_record_types.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/filters/log_rules.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/formatters/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/formatters/console.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/formatters/file.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/formatters/url.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/level_shifter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/rich_decoration/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/rich_decoration/api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/rich_decoration/environment.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/rich_decoration/loglevel_colors.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_extensions/rich_decoration/rich_api_importer.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/logging_messages.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/messages.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/messages_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/metrics.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/model_downloader/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/model_downloader/downloader/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/model_downloader/downloader/api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/model_downloader/downloader/dispatch.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/model_downloader/downloader/request_handlers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/model_downloader/uri/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/model_downloader/uri/parse.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/model_downloader/uri/request_types.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/model_downloader/uri/scheme.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/monkey_patching.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/offline.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/offline_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/optimizer.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/oscontainer/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/oscontainer/cgroup_subsystem.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/oscontainer/cgroup_v2_subsystem.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/oscontainer/cgroups.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/oscontainer/constants.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/oscontainer/errors.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/oscontainer/os_container.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/oscontainer/scanf.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/oscontainer/utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/papi.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/parallel_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/py.typed +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/query.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/rate_limiter/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/rate_limiter/bucket.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/rate_limiter/duration.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/rate_limiter/exceptions.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/rate_limiter/limiter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/rate_limiter/rate.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/replay_manager.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/reporter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/rpc.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/assets_helper.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/base_helper.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/file_parts_strategy.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/multipart_upload_options.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/rest_api_assets_helper.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/retry_strategy.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/upload_error.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/upload_types.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/uploader.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3/multipart_upload/visualizations_helper.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/s3_bucket_info.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/3d-points-bounding-box.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-cloud-3d-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-cloud-details-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-experiment.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-file-name-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-file-upload-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-git-metadata-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-gpu-static-info-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-graph-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-html-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-html-override-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-installed-packages-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-log-dependency-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-log-other-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-metric-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-os-packages-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-parameter-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-register-model-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-remote-file-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-remote-model-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-standard-output-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-system-details-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-system-info-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas/offline-ws-msg.schema.json +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/schemas.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/comet.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/comet_check.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/comet_init.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/comet_login.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/comet_models.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/comet_offline.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/comet_optimize.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/comet_python.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/scripts/comet_upload.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/aws/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/aws/aws_api_importer.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/aws/config.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/aws/instruction_details.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/aws/public_api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/aws/secret_manager.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/codec.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/gcp/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/gcp/google_api_importer.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/gcp/public_api.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/gcp/secret_manager.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/interpreter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/secrets/secret_managers_dispatch.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/semantic_version.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/base.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/fallback.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/handlers/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/handlers/base_handler.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/handlers/handler_context.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/handlers/offline_handler.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/handlers/online_handler.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/offline.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/online.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/progress_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/retry/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/retry/retry_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/streamer/retry/retry_incidents_manager.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/summary.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/synchronization/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/synchronization/model_upload/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/synchronization/model_upload/callbacks.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/synchronization/model_upload/status_handler.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/base_metrics_data_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/cpu/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/cpu/cpu_metrics_data_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/cpu/utilization.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/disk/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/disk/disk_io.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/disk/disk_metrics_data_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/disk/disk_usage.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/gpu/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/gpu/cuda.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/gpu/devices.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/gpu/gpu_logging.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/gpu/gpu_metrics_data_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/gpu/identifiers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/network/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/network/network_metrics_data_logger.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/network/network_rates.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/processes.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/system_metrics_logging_thread.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/system/system_metrics_types.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/testlib/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/testlib/dummy.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/testlib/predicates.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/testlib/test_experiment.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/tf_utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/thread_pool.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/upload_callback/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/upload_callback/callback.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/upload_callback/s3_uploader.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/upload_options.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/utils.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/curve_data_validator.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/error.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/image/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/image/annotation_validator.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/image/annotation_validator_helpers.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/metadata_validator.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/method_parameters_validator.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/parameter.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/result.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/tag_validator.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/validation/validator.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/vendor/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/vendor/nvidia_ml/__init__.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml/vendor/nvidia_ml/pynvml.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml.egg-info/dependency_links.txt +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml.egg-info/entry_points.txt +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/comet_ml.egg-info/top_level.txt +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/setup.cfg +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/tests/test_constants.py +0 -0
- {comet_ml-3.58.0 → comet_ml-3.58.2}/tests/testlib.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comet_ml
|
|
3
|
-
Version: 3.58.
|
|
3
|
+
Version: 3.58.2
|
|
4
4
|
Summary: Supercharging Machine Learning
|
|
5
5
|
Home-page: https://www.comet.com
|
|
6
6
|
Author: Comet ML Inc.
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Requires-Python: >=3.8
|
|
18
18
|
Description-Content-Type: text/x-rst
|
|
19
|
-
Requires-Dist: dulwich!=0.20.33
|
|
19
|
+
Requires-Dist: dulwich!=0.20.33,>=0.20.6
|
|
20
20
|
Requires-Dist: everett[ini]<3.2.0,>=1.0.1
|
|
21
21
|
Requires-Dist: importlib-metadata; python_version < "3.8"
|
|
22
22
|
Requires-Dist: jsonschema!=3.1.0,>=2.6.0
|
|
@@ -71,6 +71,11 @@ CONFIG_MAP = {
|
|
|
71
71
|
"comet.logging.file_overwrite": {"type": bool, "default": False},
|
|
72
72
|
"comet.logging.hide_api_key": {"type": bool, "default": True},
|
|
73
73
|
"comet.logging.console": {"type": str},
|
|
74
|
+
"comet.logging.console_strip_inplace_updates": {"type": bool, "default": True},
|
|
75
|
+
"comet.logging.console_inplace_update_min_interval": {
|
|
76
|
+
"type": float,
|
|
77
|
+
"default": 0.25,
|
|
78
|
+
},
|
|
74
79
|
"comet.logging.metrics_ignore": {
|
|
75
80
|
"type": list,
|
|
76
81
|
"default": "keras:batch_size,keras:batch_batch",
|
|
@@ -28,6 +28,7 @@ import select
|
|
|
28
28
|
import signal
|
|
29
29
|
import sys
|
|
30
30
|
import threading
|
|
31
|
+
import time
|
|
31
32
|
|
|
32
33
|
from .logging_messages import (
|
|
33
34
|
CONSOLE_CONSUMER_THREAD_DID_NOT_FINISH_WARNING,
|
|
@@ -529,9 +530,19 @@ except ImportError:
|
|
|
529
530
|
|
|
530
531
|
|
|
531
532
|
class StdLogger(object):
|
|
532
|
-
def __init__(
|
|
533
|
+
def __init__(
|
|
534
|
+
self,
|
|
535
|
+
streamer,
|
|
536
|
+
wrapper_class,
|
|
537
|
+
strip_inplace_updates=True,
|
|
538
|
+
inplace_update_min_interval=0.25,
|
|
539
|
+
):
|
|
533
540
|
self.streamer = streamer
|
|
534
541
|
self.experiment = None
|
|
542
|
+
self.strip_inplace_updates = strip_inplace_updates
|
|
543
|
+
self.inplace_update_min_interval = inplace_update_min_interval
|
|
544
|
+
self._inplace_last_ts = {"stdout": 0.0, "stderr": 0.0}
|
|
545
|
+
self._inplace_lock = threading.Lock()
|
|
535
546
|
self.wrapper = wrapper_class(
|
|
536
547
|
stdout=True,
|
|
537
548
|
stdout_handler=self.stdout_handler,
|
|
@@ -577,6 +588,21 @@ class StdLogger(object):
|
|
|
577
588
|
else:
|
|
578
589
|
raise NotImplementedError()
|
|
579
590
|
|
|
591
|
+
# Debounce in-place progress updates (e.g. tqdm \r frames). Forward
|
|
592
|
+
# at most one CR-only frame per `inplace_update_min_interval` seconds
|
|
593
|
+
# per stream — enough for the UI to keep showing live progress via
|
|
594
|
+
# `escapeCarriageReturn` overlay, without flooding the streamer batch.
|
|
595
|
+
# A frame containing \n is always forwarded (it's a real log line).
|
|
596
|
+
if self.strip_inplace_updates and "\r" in data and "\n" not in data:
|
|
597
|
+
now = time.monotonic()
|
|
598
|
+
with self._inplace_lock:
|
|
599
|
+
if (
|
|
600
|
+
now - self._inplace_last_ts[std_name]
|
|
601
|
+
< self.inplace_update_min_interval
|
|
602
|
+
):
|
|
603
|
+
return
|
|
604
|
+
self._inplace_last_ts[std_name] = now
|
|
605
|
+
|
|
580
606
|
message = StandardOutputMessage(
|
|
581
607
|
output=data,
|
|
582
608
|
stderr=stderr,
|
|
@@ -586,17 +612,32 @@ class StdLogger(object):
|
|
|
586
612
|
self.streamer.put_message_in_q(message)
|
|
587
613
|
|
|
588
614
|
|
|
589
|
-
def get_std_logger(
|
|
615
|
+
def get_std_logger(
|
|
616
|
+
wrapper_spec,
|
|
617
|
+
streamer,
|
|
618
|
+
strip_inplace_updates=True,
|
|
619
|
+
inplace_update_min_interval=0.25,
|
|
620
|
+
):
|
|
590
621
|
"""A factory that pass the right wrapper class to the StdLogger"""
|
|
591
622
|
if wrapper_spec is None or wrapper_spec is False:
|
|
592
623
|
return None
|
|
593
624
|
|
|
594
625
|
elif wrapper_spec == "simple":
|
|
595
|
-
return StdLogger(
|
|
626
|
+
return StdLogger(
|
|
627
|
+
streamer,
|
|
628
|
+
BaseStdWrapper,
|
|
629
|
+
strip_inplace_updates,
|
|
630
|
+
inplace_update_min_interval,
|
|
631
|
+
)
|
|
596
632
|
|
|
597
633
|
elif wrapper_spec == "native":
|
|
598
634
|
if HAS_WURLITZER is True:
|
|
599
|
-
return StdLogger(
|
|
635
|
+
return StdLogger(
|
|
636
|
+
streamer,
|
|
637
|
+
PipeMultiprocessingStdWrapper,
|
|
638
|
+
strip_inplace_updates,
|
|
639
|
+
inplace_update_min_interval,
|
|
640
|
+
)
|
|
600
641
|
|
|
601
642
|
else:
|
|
602
643
|
LOGGER.warning(NATIVE_STD_WRAPPER_NOT_AVAILABLE)
|
|
@@ -604,4 +645,9 @@ def get_std_logger(wrapper_spec, streamer):
|
|
|
604
645
|
else:
|
|
605
646
|
LOGGER.warning(UNKNOWN_STD_WRAPPER_SPEC, wrapper_spec)
|
|
606
647
|
|
|
607
|
-
return StdLogger(
|
|
648
|
+
return StdLogger(
|
|
649
|
+
streamer,
|
|
650
|
+
BaseStdWrapper,
|
|
651
|
+
strip_inplace_updates,
|
|
652
|
+
inplace_update_min_interval,
|
|
653
|
+
)
|
|
@@ -1479,7 +1479,18 @@ class CometExperiment(CommonExperiment):
|
|
|
1479
1479
|
|
|
1480
1480
|
def _setup_std_logger(self) -> None:
|
|
1481
1481
|
# Override default sys.stdout and feed to streamer.
|
|
1482
|
-
|
|
1482
|
+
strip_inplace_updates = self.config.get_bool(
|
|
1483
|
+
None, "comet.logging.console_strip_inplace_updates"
|
|
1484
|
+
)
|
|
1485
|
+
inplace_update_min_interval = self.config[
|
|
1486
|
+
"comet.logging.console_inplace_update_min_interval"
|
|
1487
|
+
]
|
|
1488
|
+
self.logger = get_std_logger(
|
|
1489
|
+
self.auto_output_logging,
|
|
1490
|
+
self.streamer,
|
|
1491
|
+
strip_inplace_updates=strip_inplace_updates,
|
|
1492
|
+
inplace_update_min_interval=inplace_update_min_interval,
|
|
1493
|
+
)
|
|
1483
1494
|
if self.logger is not None:
|
|
1484
1495
|
self.logger.set_experiment(self)
|
|
1485
1496
|
|
|
@@ -24,6 +24,8 @@ from io import BytesIO
|
|
|
24
24
|
from urllib.parse import urlparse
|
|
25
25
|
|
|
26
26
|
import dulwich.errors
|
|
27
|
+
import dulwich.index
|
|
28
|
+
import dulwich.object_store
|
|
27
29
|
import dulwich.objects
|
|
28
30
|
import dulwich.patch
|
|
29
31
|
import dulwich.porcelain
|
|
@@ -121,13 +123,21 @@ def get_git_commit(repo):
|
|
|
121
123
|
|
|
122
124
|
def git_status(repo):
|
|
123
125
|
# Monkey-patch a dulwich method, see
|
|
124
|
-
# https://github.com/dulwich/dulwich/pull/601 for an explanation why
|
|
125
|
-
|
|
126
|
-
|
|
126
|
+
# https://github.com/dulwich/dulwich/pull/601 for an explanation why.
|
|
127
|
+
# Guarded with hasattr so we stay compatible across the dulwich versions
|
|
128
|
+
# we support: the helper exists in both the 0.x and 1.x lines, but it has
|
|
129
|
+
# been relocated several times and may eventually disappear. When it is not
|
|
130
|
+
# there we simply rely on dulwich's own (now fixed) behaviour.
|
|
131
|
+
should_patch = hasattr(dulwich.porcelain, "path_to_tree_path")
|
|
132
|
+
if should_patch:
|
|
133
|
+
original = dulwich.porcelain.path_to_tree_path
|
|
127
134
|
dulwich.porcelain.path_to_tree_path = _patched_path_to_tree_path
|
|
128
135
|
|
|
136
|
+
try:
|
|
129
137
|
status = dulwich.porcelain.status(repo)
|
|
130
138
|
|
|
139
|
+
# dulwich >= 0.25.1 returns regular strings from porcelain.status while
|
|
140
|
+
# older versions return bytes; to_utf8 normalizes both to str.
|
|
131
141
|
staged = {
|
|
132
142
|
key: [to_utf8(path) for path in items]
|
|
133
143
|
for (key, items) in status.staged.items()
|
|
@@ -138,7 +148,8 @@ def git_status(repo):
|
|
|
138
148
|
return {"staged": staged, "unstaged": unstaged, "untracked": untracked}
|
|
139
149
|
|
|
140
150
|
finally:
|
|
141
|
-
|
|
151
|
+
if should_patch:
|
|
152
|
+
dulwich.porcelain.path_to_tree_path = original
|
|
142
153
|
|
|
143
154
|
|
|
144
155
|
def get_origin_url(repo):
|
|
@@ -256,10 +267,25 @@ def get_git_patch(repo, unstaged=True):
|
|
|
256
267
|
# Merges names from the index and from the store as some files can be only
|
|
257
268
|
# on index or only on the store
|
|
258
269
|
names = set()
|
|
259
|
-
|
|
270
|
+
# dulwich >= 0.21 exposes a module-level iter_tree_contents(store, tree_id),
|
|
271
|
+
# while the 0.20.x line (down to our 0.20.6 floor) only provides the
|
|
272
|
+
# ObjectStore.iter_tree_contents(tree_id) method. Prefer the module-level
|
|
273
|
+
# function where it exists (the method is deprecated in the 1.x line) and
|
|
274
|
+
# fall back to the method on old dulwich so we never rely on either alone.
|
|
275
|
+
module_iter_tree_contents = getattr(
|
|
276
|
+
dulwich.object_store, "iter_tree_contents", None
|
|
277
|
+
)
|
|
278
|
+
if module_iter_tree_contents is not None:
|
|
279
|
+
tree_entries = module_iter_tree_contents(object_store, tree_id)
|
|
280
|
+
else:
|
|
281
|
+
tree_entries = object_store.iter_tree_contents(tree_id)
|
|
282
|
+
for name, _, _ in tree_entries:
|
|
260
283
|
names.add(name)
|
|
261
284
|
|
|
262
|
-
|
|
285
|
+
# Iterating the Index yields its entry paths via the public __iter__
|
|
286
|
+
# protocol, avoiding the private ``index._byname`` attribute. ``names`` is
|
|
287
|
+
# a set, so the iteration order is irrelevant here.
|
|
288
|
+
names.update(index)
|
|
263
289
|
|
|
264
290
|
final_changes = dulwich.index.changes_from_tree(
|
|
265
291
|
names, lookup_entry, repo.object_store, tree_id, want_unchanged=False
|
|
@@ -21,8 +21,14 @@ import ray.tune.experiment
|
|
|
21
21
|
import ray.tune.logger
|
|
22
22
|
|
|
23
23
|
from ...constants import OTHER_KEY_CREATED_FROM
|
|
24
|
-
from . import
|
|
24
|
+
from . import (
|
|
25
|
+
callback_helpers,
|
|
26
|
+
controller_flush_patcher,
|
|
27
|
+
trial_result_logger,
|
|
28
|
+
trial_save_logger,
|
|
29
|
+
)
|
|
25
30
|
from ._version_compat import USE_USER_CALLBACK
|
|
31
|
+
from .callback_helpers import strip_injected_keys
|
|
26
32
|
|
|
27
33
|
if USE_USER_CALLBACK:
|
|
28
34
|
from ray.train import UserCallback as _RayCallbackBase
|
|
@@ -112,12 +118,12 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
112
118
|
experiment_key: Optional[str] = None,
|
|
113
119
|
mode: Optional[str] = None,
|
|
114
120
|
online: Optional[bool] = None,
|
|
115
|
-
**experiment_kwargs # fmt: skip
|
|
116
|
-
):
|
|
121
|
+
**experiment_kwargs: Any # fmt: skip
|
|
122
|
+
) -> None:
|
|
117
123
|
self._save_checkpoints = save_checkpoints
|
|
118
|
-
self._trial = None
|
|
124
|
+
self._trial: Optional[Trial] = None
|
|
119
125
|
self._experiment: Any = None
|
|
120
|
-
self._experiment_ended = False
|
|
126
|
+
self._experiment_ended: bool = False
|
|
121
127
|
|
|
122
128
|
self._setup_shared_comet_experiment(
|
|
123
129
|
api_key=api_key,
|
|
@@ -130,7 +136,18 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
130
136
|
experiment_name=experiment_name,
|
|
131
137
|
**experiment_kwargs,
|
|
132
138
|
)
|
|
133
|
-
self._push_info_into_ray_configuration(
|
|
139
|
+
self._push_info_into_ray_configuration(
|
|
140
|
+
ray_config,
|
|
141
|
+
share_api_key_to_workers,
|
|
142
|
+
offline_directory=experiment_kwargs.get("offline_directory"),
|
|
143
|
+
)
|
|
144
|
+
|
|
145
|
+
if save_checkpoints and not self._online:
|
|
146
|
+
LOGGER.warning(
|
|
147
|
+
"CometTrainLoggerCallback(save_checkpoints=True) has no effect for "
|
|
148
|
+
"offline experiments: Comet artifacts require an online experiment, "
|
|
149
|
+
"so checkpoints will not be logged."
|
|
150
|
+
)
|
|
134
151
|
|
|
135
152
|
if share_api_key_to_workers:
|
|
136
153
|
LOGGER.warning(
|
|
@@ -139,7 +156,7 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
139
156
|
)
|
|
140
157
|
|
|
141
158
|
@property
|
|
142
|
-
def experiment_key(self):
|
|
159
|
+
def experiment_key(self) -> str:
|
|
143
160
|
return self._experiment_key
|
|
144
161
|
|
|
145
162
|
def _setup_shared_comet_experiment(
|
|
@@ -152,9 +169,9 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
152
169
|
online: Optional[bool],
|
|
153
170
|
tags: Optional[List[str]],
|
|
154
171
|
experiment_name: Optional[str],
|
|
155
|
-
**experiment_kwargs
|
|
156
|
-
):
|
|
157
|
-
experiment_config_kwargs = {
|
|
172
|
+
**experiment_kwargs: Any
|
|
173
|
+
) -> None:
|
|
174
|
+
experiment_config_kwargs: Dict[str, Any] = {
|
|
158
175
|
"log_env_gpu": False,
|
|
159
176
|
"log_env_cpu": False,
|
|
160
177
|
"log_env_disk": False,
|
|
@@ -182,20 +199,31 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
182
199
|
experiment.add_tags(tags)
|
|
183
200
|
experiment._log_other(OTHER_KEY_CREATED_FROM, "Ray", include_context=False)
|
|
184
201
|
|
|
185
|
-
self._experiment_key = experiment.id
|
|
186
|
-
|
|
187
|
-
|
|
202
|
+
self._experiment_key: str = experiment.id
|
|
203
|
+
# ``api_key`` exists on the online ``Experiment`` but not on the
|
|
204
|
+
# ``CometExperiment`` base; read defensively for offline handles.
|
|
205
|
+
self._api_key: Optional[str] = getattr(experiment, "api_key", None)
|
|
206
|
+
self._online: bool = callback_helpers.is_online_experiment(experiment)
|
|
188
207
|
|
|
189
208
|
def _push_info_into_ray_configuration(
|
|
190
|
-
self,
|
|
191
|
-
|
|
209
|
+
self,
|
|
210
|
+
config: Dict[str, Any],
|
|
211
|
+
share_api_key_to_workers: bool,
|
|
212
|
+
offline_directory: Optional[str] = None,
|
|
213
|
+
) -> None:
|
|
192
214
|
config["_comet_experiment_key"] = self._experiment_key
|
|
193
215
|
if share_api_key_to_workers:
|
|
194
216
|
config["_comet_api_key"] = hidden_api_key.HiddenApiKey(value=self._api_key)
|
|
195
217
|
|
|
196
218
|
config["_comet_online"] = self._online
|
|
197
219
|
|
|
198
|
-
|
|
220
|
+
# Share the offline directory so worker archives land alongside the
|
|
221
|
+
# driver's instead of scattering into Ray's per-session temp dir.
|
|
222
|
+
# Only relevant offline; workers may still override via their own kwargs.
|
|
223
|
+
if not self._online and offline_directory is not None:
|
|
224
|
+
config["_comet_offline_directory"] = offline_directory
|
|
225
|
+
|
|
226
|
+
def _connect_to_shared_experiment(self) -> Any:
|
|
199
227
|
"""Re-attach to the shared experiment created in ``__init__``.
|
|
200
228
|
|
|
201
229
|
The controller process that fires the Ray callback hooks can be a
|
|
@@ -222,7 +250,7 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
222
250
|
# Ray Train V1 / Tune-style hooks (inert when USE_USER_CALLBACK).
|
|
223
251
|
# ------------------------------------------------------------------
|
|
224
252
|
|
|
225
|
-
def log_trial_start(self, trial: Trial):
|
|
253
|
+
def log_trial_start(self, trial: Trial) -> None:
|
|
226
254
|
# Different trial than the one already running — this callback is
|
|
227
255
|
# single-trial only. Raise before any state is touched.
|
|
228
256
|
if self._trial is not None and trial.trial_id != self._trial.trial_id:
|
|
@@ -257,21 +285,32 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
257
285
|
experiment = self._connect_to_shared_experiment()
|
|
258
286
|
self._log_parameters_from_config(experiment, config)
|
|
259
287
|
self._experiment = experiment
|
|
288
|
+
# Note: these parameters are logged once from the controller process and
|
|
289
|
+
# sent lazily, so they would be dropped when Ray hard-kills the
|
|
290
|
+
# controller. They are NOT flushed here — the controller-shutdown drain
|
|
291
|
+
# installed in ``after_report`` (controller_flush_patcher) flushes the
|
|
292
|
+
# experiment once at the end of the run, covering parameters, the final
|
|
293
|
+
# metrics, and async checkpoint uploads in a single drain.
|
|
260
294
|
|
|
261
295
|
@staticmethod
|
|
262
|
-
def _log_parameters_from_config(experiment, config: Dict[str, Any]) -> None:
|
|
263
|
-
config
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
)
|
|
270
|
-
|
|
296
|
+
def _log_parameters_from_config(experiment: Any, config: Dict[str, Any]) -> None:
|
|
297
|
+
# Ray Train V1 hands us ``trial.config``, which nests the user's
|
|
298
|
+
# ``train_loop_config`` under a ``"train_loop_config"`` key; the V2
|
|
299
|
+
# ``after_report`` path already passes the inner dict. Unwrap it so the
|
|
300
|
+
# individual hyperparameters (``lr``, ``batch_size``, ...) are logged
|
|
301
|
+
# one-per-parameter and identically on both Ray Train versions —
|
|
302
|
+
# otherwise V1 logs a single opaque ``train_loop_config`` parameter.
|
|
303
|
+
inner_config = config.get("train_loop_config")
|
|
304
|
+
if isinstance(inner_config, dict):
|
|
305
|
+
config = inner_config
|
|
306
|
+
# Drop the connection details the callback injected to reach the workers
|
|
307
|
+
# (not user hyperparameters) and Ray's own ``callbacks`` entry.
|
|
308
|
+
config = strip_injected_keys(config)
|
|
309
|
+
config.pop("callbacks", None)
|
|
271
310
|
if config:
|
|
272
311
|
experiment.log_parameters(config, nested_support=False)
|
|
273
312
|
|
|
274
|
-
def log_trial_result(self, iteration: int, trial: Trial, result: Dict):
|
|
313
|
+
def log_trial_result(self, iteration: int, trial: Trial, result: Dict) -> None:
|
|
275
314
|
if self._trial is None:
|
|
276
315
|
self.log_trial_start(trial)
|
|
277
316
|
|
|
@@ -281,27 +320,60 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
281
320
|
result_logger = trial_result_logger.TrialResultLogger(self._experiment, result)
|
|
282
321
|
result_logger.process()
|
|
283
322
|
|
|
284
|
-
def log_trial_save(self, trial: Trial):
|
|
285
|
-
if self._save_checkpoints and trial.checkpoint is not None:
|
|
323
|
+
def log_trial_save(self, trial: Trial) -> None:
|
|
324
|
+
if not (self._save_checkpoints and trial.checkpoint is not None):
|
|
325
|
+
return
|
|
326
|
+
# Artifacts are online-only; skip offline (warned once at construction).
|
|
327
|
+
# Wrap so a checkpoint-logging failure never aborts the training run.
|
|
328
|
+
if not self._online:
|
|
329
|
+
return
|
|
330
|
+
try:
|
|
286
331
|
trial_save_logger.go(self._experiment, trial)
|
|
332
|
+
except Exception:
|
|
333
|
+
LOGGER.warning(
|
|
334
|
+
"Failed to log Ray checkpoint to Comet; continuing training",
|
|
335
|
+
exc_info=True,
|
|
336
|
+
)
|
|
287
337
|
|
|
288
|
-
def log_trial_end(self, trial: Trial, failed: bool = False):
|
|
338
|
+
def log_trial_end(self, trial: Trial, failed: bool = False) -> None:
|
|
289
339
|
# self._experiment.end()
|
|
290
340
|
pass
|
|
291
341
|
|
|
292
|
-
def on_experiment_end(self, trials: List["Trial"], **info):
|
|
293
|
-
|
|
342
|
+
def on_experiment_end(self, trials: List["Trial"], **info: Any) -> None:
|
|
343
|
+
if self._experiment is None:
|
|
344
|
+
return
|
|
345
|
+
# On a worker, end the experiment to avoid losing changes. On the driver
|
|
346
|
+
# (Ray Train V1), flush so lazily-sent parameters and metrics reach the
|
|
347
|
+
# backend before ``fit()`` returns — without an explicit drain they are
|
|
348
|
+
# delivered only at interpreter exit (atexit), which races any
|
|
349
|
+
# post-``fit()`` reads. (V2's equivalent drain is controller_flush_patcher.)
|
|
294
350
|
if worker.global_worker.mode == worker.WORKER_MODE:
|
|
295
351
|
self._experiment.end()
|
|
352
|
+
else:
|
|
353
|
+
self._experiment.flush()
|
|
296
354
|
|
|
297
355
|
# ------------------------------------------------------------------
|
|
298
356
|
# Ray Train V2 ``UserCallback`` hooks (inert when not USE_USER_CALLBACK).
|
|
299
357
|
# ------------------------------------------------------------------
|
|
300
358
|
|
|
301
|
-
def after_report(
|
|
359
|
+
def after_report(
|
|
360
|
+
self,
|
|
361
|
+
run_context: Any,
|
|
362
|
+
metrics: List[Dict[str, Any]],
|
|
363
|
+
checkpoint: Any,
|
|
364
|
+
) -> None:
|
|
302
365
|
if self._experiment is None:
|
|
303
366
|
self._attach_shared_experiment(self._train_loop_config(run_context))
|
|
304
367
|
|
|
368
|
+
# This hook runs in the controller process with the live controller on
|
|
369
|
+
# the call stack. Wrap its shutdown to flush the experiment (and its
|
|
370
|
+
# async checkpoint uploads) before Ray hard-kills the controller.
|
|
371
|
+
# ``ensure_drain`` is idempotent, so it is called on every report rather
|
|
372
|
+
# than only on the attach branch — that way an experiment attached
|
|
373
|
+
# earlier (e.g. by ``after_exception``) still gets the drain installed.
|
|
374
|
+
if self._experiment is not None:
|
|
375
|
+
controller_flush_patcher.ensure_drain(self._experiment)
|
|
376
|
+
|
|
305
377
|
if metrics and metrics[0] is not None:
|
|
306
378
|
# Ray Train hands us one metrics dict per worker; rank 0 is the
|
|
307
379
|
# canonical source for the driver-level experiment. Per-worker
|
|
@@ -314,7 +386,7 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
314
386
|
if self._save_checkpoints and checkpoint is not None:
|
|
315
387
|
self._log_checkpoint_v2(run_context, checkpoint)
|
|
316
388
|
|
|
317
|
-
def after_exception(self, run_context, worker_exceptions):
|
|
389
|
+
def after_exception(self, run_context: Any, worker_exceptions: Any) -> None:
|
|
318
390
|
# The shared Comet experiment is created on the driver in ``__init__``;
|
|
319
391
|
# without a prior ``after_report`` the controller process has no handle
|
|
320
392
|
# to it yet, so attach lazily before ending so failures are recorded
|
|
@@ -353,20 +425,32 @@ class CometTrainLoggerCallback(_RayCallbackBase):
|
|
|
353
425
|
self._experiment_ended = True
|
|
354
426
|
|
|
355
427
|
@staticmethod
|
|
356
|
-
def _train_loop_config(run_context) -> Dict[str, Any]:
|
|
428
|
+
def _train_loop_config(run_context: Any) -> Dict[str, Any]:
|
|
357
429
|
return getattr(run_context, "train_loop_config", None) or {}
|
|
358
430
|
|
|
359
|
-
def _log_checkpoint_v2(self, run_context, checkpoint) -> None:
|
|
360
|
-
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
431
|
+
def _log_checkpoint_v2(self, run_context: Any, checkpoint: Any) -> None:
|
|
432
|
+
# Artifacts are online-only; skip offline (warned once at construction).
|
|
433
|
+
# Wrap so a checkpoint-logging failure never aborts the training run —
|
|
434
|
+
# on Ray Train V2 an exception here propagates out of after_report and
|
|
435
|
+
# is raised as a ControllerError that kills the whole run.
|
|
436
|
+
if not self._online:
|
|
437
|
+
return
|
|
438
|
+
try:
|
|
439
|
+
name = self._checkpoint_artifact_name(run_context)
|
|
440
|
+
# ``Checkpoint.as_directory`` materialises remote checkpoints locally
|
|
441
|
+
# for the duration of the context manager, mirroring how the legacy
|
|
442
|
+
# path consumed ``trial.checkpoint.dir_or_data``.
|
|
443
|
+
with checkpoint.as_directory() as local_dir:
|
|
444
|
+
trial_save_logger.log_checkpoint(
|
|
445
|
+
self._experiment, name=name, directory=local_dir
|
|
446
|
+
)
|
|
447
|
+
except Exception:
|
|
448
|
+
LOGGER.warning(
|
|
449
|
+
"Failed to log Ray checkpoint to Comet; continuing training",
|
|
450
|
+
exc_info=True,
|
|
367
451
|
)
|
|
368
452
|
|
|
369
|
-
def _checkpoint_artifact_name(self, run_context) -> str:
|
|
453
|
+
def _checkpoint_artifact_name(self, run_context: Any) -> str:
|
|
370
454
|
try:
|
|
371
455
|
run_config = run_context.get_run_config()
|
|
372
456
|
name = getattr(run_config, "name", None)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# *******************************************************
|
|
3
|
+
# ____ _ _
|
|
4
|
+
# / ___|___ _ __ ___ ___| |_ _ __ ___ | |
|
|
5
|
+
# | | / _ \| '_ ` _ \ / _ \ __| | '_ ` _ \| |
|
|
6
|
+
# | |__| (_) | | | | | | __/ |_ _| | | | | | |
|
|
7
|
+
# \____\___/|_| |_| |_|\___|\__(_)_| |_| |_|_|
|
|
8
|
+
#
|
|
9
|
+
# Sign up for free at https://www.comet.com
|
|
10
|
+
# Copyright (C) 2015-2024 Comet ML INC
|
|
11
|
+
# This source code is licensed under the MIT license.
|
|
12
|
+
# *******************************************************
|
|
13
|
+
|
|
14
|
+
from typing import Any, Dict
|
|
15
|
+
|
|
16
|
+
import comet_ml
|
|
17
|
+
|
|
18
|
+
# Connection details the callback injects into the user's ``ray_config`` so each
|
|
19
|
+
# worker can reach the shared experiment. They are not user hyperparameters and
|
|
20
|
+
# must be stripped before logging the config as parameters. Matched exactly (not
|
|
21
|
+
# by ``_comet_`` prefix) so a user hyperparameter that happens to start with
|
|
22
|
+
# ``_comet_`` is preserved.
|
|
23
|
+
INJECTED_CONFIG_KEYS = (
|
|
24
|
+
"_comet_experiment_key",
|
|
25
|
+
"_comet_api_key",
|
|
26
|
+
"_comet_online",
|
|
27
|
+
"_comet_offline_directory",
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def is_online_experiment(experiment: Any) -> bool:
|
|
32
|
+
return isinstance(experiment, comet_ml.Experiment)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def strip_injected_keys(config: Dict[str, Any]) -> Dict[str, Any]:
|
|
36
|
+
"""Return a copy of ``config`` without the connection details the callback
|
|
37
|
+
injected into ``ray_config`` to reach the workers."""
|
|
38
|
+
return {
|
|
39
|
+
key: value for key, value in config.items() if key not in INJECTED_CONFIG_KEYS
|
|
40
|
+
}
|