clearml-truen-patch 2.1.3.post1__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.
- clearml_truen_patch-2.1.3.post1/MANIFEST.in +2 -0
- clearml_truen_patch-2.1.3.post1/PKG-INFO +19 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/__init__.py +52 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/_autoapply.py +25 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/_install.py +139 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/__init__.py +29 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/auto_scaler.py +469 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/aws_driver.py +187 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/cloud_driver.py +212 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/controller.py +5569 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/hpbandster/__init__.py +3 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/hpbandster/bandster.py +412 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/job.py +923 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/monitor.py +187 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/optimization.py +2589 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/optuna/__init__.py +3 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/optuna/optuna.py +274 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/parameters.py +388 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/scheduler.py +997 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/automation/trigger.py +834 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/__init__.py +17 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/api_proxy.py +78 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/config/__init__.py +15 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/config/default/api.conf +62 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/config/default/logging.conf +10 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/schema/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/schema/action.py +35 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/schema/service.py +181 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/__init__.py +29 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_13/__init__.py +1 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_13/auth.py +600 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_13/events.py +3520 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_13/models.py +4047 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_13/organization.py +148 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_13/projects.py +3474 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_13/queues.py +2524 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_13/tasks.py +12078 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_13/workers.py +2443 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/__init__.py +1 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/auth.py +776 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/events.py +5126 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/models.py +4548 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/organization.py +148 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/pipelines.py +158 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/projects.py +4523 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/queues.py +2831 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/tasks.py +12746 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_20/workers.py +2477 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/__init__.py +1 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/auth.py +747 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/datasets.py +8344 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/dataviews.py +5042 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/events.py +5808 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/frames.py +12806 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/models.py +4557 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/organization.py +148 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/pipelines.py +158 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/projects.py +4547 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/queues.py +2942 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/tasks.py +17088 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_23/workers.py +2585 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_9/__init__.py +1 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_9/auth.py +576 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_9/events.py +3194 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_9/models.py +3017 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_9/organization.py +148 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_9/projects.py +2609 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_9/queues.py +2151 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_9/tasks.py +9209 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/services/v2_9/workers.py +2443 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/__init__.py +24 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/apimodel.py +9 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/callresult.py +196 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/client/__init__.py +3 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/client/client.py +561 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/datamodel.py +185 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/defs.py +68 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/errors.py +20 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/jsonmodels/__init__.py +11 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/jsonmodels/builders.py +225 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/jsonmodels/collections.py +21 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/jsonmodels/errors.py +10 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/jsonmodels/fields.py +482 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/jsonmodels/models.py +146 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/jsonmodels/parsers.py +107 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/jsonmodels/utilities.py +156 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/jsonmodels/validators.py +191 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/request.py +117 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/response.py +78 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/session.py +1174 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/session/token_manager.py +112 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_api/utils.py +219 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/__init__.py +6 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/bucket_config.py +478 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/config.py +429 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/converters.py +70 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/defs.py +69 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/entry.py +98 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/environment.py +38 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/errors.py +9 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/log.py +46 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_config/utils.py +112 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/__init__.py +4 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/base.py +225 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/datasets/__init__.py +10 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/datasets/hyper_dataset.py +457 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/datasets/hyper_dataset_data_view.py +258 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/logger.py +349 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/metrics/__init__.py +13 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/metrics/events.py +514 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/metrics/interface.py +421 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/metrics/reporter.py +1244 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/model.py +678 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/session.py +36 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/setupuploadmixin.py +160 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/__init__.py +3 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/access.py +131 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/args.py +780 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/development/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/development/stop_signal.py +73 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/development/worker.py +177 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/hyperparams.py +241 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/log.py +378 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/models.py +121 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/populate.py +1245 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/repo/__init__.py +4 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/repo/detectors.py +394 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/repo/freeze.py +78 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/repo/scriptinfo.py +1642 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/repo/util.py +36 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/task/task.py +3336 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/backend_interface/util.py +276 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/absl_bind.py +150 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/args.py +355 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/artifacts.py +1266 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/click_bind.py +177 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/environ_bind.py +319 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/fire_bind.py +387 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/frameworks/__init__.py +548 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/frameworks/base_bind.py +57 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/frameworks/catboost_bind.py +149 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/frameworks/fastai_bind.py +353 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/frameworks/lightgbm_bind.py +148 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/frameworks/megengine_bind.py +177 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/frameworks/pytorch_bind.py +356 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/frameworks/tensorflow_bind.py +2752 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/frameworks/xgboost_bind.py +212 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/gradio_bind.py +132 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/hydra_bind.py +291 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/import_bind.py +88 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/joblib_bind.py +224 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/jsonargs_bind.py +317 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/binding/matplotlib_bind.py +816 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/config/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/config/__main__.py +387 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/__main__.py +1090 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/dataset_formats/__init__.py +250 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/dataset_formats/_custom_example.py +257 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/dataset_formats/_utils.py +169 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/dataset_formats/classification.py +283 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/dataset_formats/coco.py +376 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/dataset_formats/yolo_base.py +348 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/dataset_formats/yolo_detection.py +221 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/dataset_formats/yolo_pose.py +333 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/dataset_formats/yolo_segmentation.py +214 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/http_sync.py +336 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/data/schema_utility.py +297 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/debug/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/debug/__main__.py +126 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/hpo/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/hpo/__main__.py +364 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/task/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/cli/task/__main__.py +354 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/config/__init__.py +291 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/config/cache.py +56 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/config/default/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/config/default/logging.conf +30 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/config/default/sdk.conf +317 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/config/defs.py +58 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/config/remote.py +23 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/datasets/__init__.py +6 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/datasets/dataset.py +3942 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/debugging/__init__.py +22 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/debugging/log.py +373 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/debugging/timer.py +118 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/debugging/trace.py +425 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/errors.py +20 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/external/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/external/kerastuner.py +123 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/hyperdatasets/__init__.py +20 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/hyperdatasets/core.py +543 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/hyperdatasets/data_entry.py +568 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/hyperdatasets/data_entry_image.py +803 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/hyperdatasets/data_view.py +1214 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/hyperdatasets/management.py +230 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/hyperdatasets/util.py +445 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/logger.py +1597 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/model.py +2780 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/py.typed +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/router/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/router/endpoint_telemetry.py +240 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/router/fastapi_proxy.py +264 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/router/proxy.py +63 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/router/route.py +102 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/router/router.py +249 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/storage/__init__.py +5 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/storage/cache.py +417 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/storage/callbacks.py +220 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/storage/helper.py +4562 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/storage/manager.py +577 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/storage/util.py +390 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/task.py +5598 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/task_parameters.py +178 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/__init__.py +3 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/async_manager.py +75 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/attrs.py +28 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/check_updates.py +83 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/config.py +125 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/deferred.py +146 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/dicts.py +202 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/distutils_version.py +334 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/enum.py +30 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/files.py +36 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/gpu/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/gpu/gpustat.py +672 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/gpu/pynvml.py +4966 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/gpu/pyrsmi.py +608 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/io_manager.py +33 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/locks/__init__.py +3 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/locks/constants.py +41 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/locks/exceptions.py +22 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/locks/portalocker.py +151 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/locks/utils.py +374 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/lowlevel/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/lowlevel/astor_unparse.py +926 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/lowlevel/distributed.py +97 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/lowlevel/file_access.py +91 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/lowlevel/threads.py +128 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/matching.py +44 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/networking.py +98 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/parallel.py +507 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pigar/__init__.py +1 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pigar/__main__.py +216 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pigar/log.py +8 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pigar/modules.py +108 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pigar/reqs.py +511 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pigar/unpack.py +126 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pigar/utils.py +146 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotly_reporter.py +699 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/__init__.py +17 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/__init__.py +4 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/_py3k_compat.py +24 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/exporter.py +332 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/renderers/__init__.py +22 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/renderers/base.py +469 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/renderers/fake_renderer.py +117 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/renderers/vega_renderer.py +173 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/renderers/vincent_renderer.py +71 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/tools.py +55 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mplexporter/utils.py +371 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/mpltools.py +665 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/plotlympl/renderer.py +746 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/process/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/process/exit_hooks.py +193 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/process/mp.py +911 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/proxy_object.py +550 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/py3_interop.py +45 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pyhocon/__init__.py +5 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pyhocon/config_parser.py +762 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pyhocon/config_tree.py +608 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pyhocon/converter.py +329 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/pyhocon/exceptions.py +17 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/requests_toolbelt/__init__.py +29 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/requests_toolbelt/_compat.py +327 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/requests_toolbelt/multipart/__init__.py +31 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/requests_toolbelt/multipart/decoder.py +156 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/requests_toolbelt/multipart/encoder.py +657 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/resource_monitor.py +630 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/seed.py +71 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/version.py +343 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/wizard/__init__.py +0 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/utilities/wizard/user_input.py +103 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch/version.py +1 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch.egg-info/PKG-INFO +19 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch.egg-info/SOURCES.txt +293 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch.egg-info/dependency_links.txt +1 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch.egg-info/requires.txt +1 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch.egg-info/top_level.txt +1 -0
- clearml_truen_patch-2.1.3.post1/clearml_truen_patch.pth +1 -0
- clearml_truen_patch-2.1.3.post1/pyproject.toml +3 -0
- clearml_truen_patch-2.1.3.post1/setup.cfg +4 -0
- clearml_truen_patch-2.1.3.post1/setup.py +84 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: clearml-truen-patch
|
|
3
|
+
Version: 2.1.3.post1
|
|
4
|
+
Summary: Overlay patches for clearml==2.1.3 (truen). Installs into the existing clearml package so `import clearml` picks up the patches.
|
|
5
|
+
Home-page: https://github.com/clearml/clearml
|
|
6
|
+
Author: ClearML
|
|
7
|
+
Author-email: support@clear.ml
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Requires-Python: >=3.6
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: clearml==2.1.3
|
|
12
|
+
Dynamic: author
|
|
13
|
+
Dynamic: author-email
|
|
14
|
+
Dynamic: description-content-type
|
|
15
|
+
Dynamic: home-page
|
|
16
|
+
Dynamic: license
|
|
17
|
+
Dynamic: requires-dist
|
|
18
|
+
Dynamic: requires-python
|
|
19
|
+
Dynamic: summary
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
""" ClearML open SDK """
|
|
2
|
+
from .version import __version__
|
|
3
|
+
from .task import Task
|
|
4
|
+
from .model import InputModel, OutputModel, Model
|
|
5
|
+
from .logger import Logger
|
|
6
|
+
from .storage import StorageManager
|
|
7
|
+
from .errors import UsageError
|
|
8
|
+
from .datasets import Dataset
|
|
9
|
+
from .hyperdatasets import (
|
|
10
|
+
HyperDataset,
|
|
11
|
+
DataView,
|
|
12
|
+
DataEntry,
|
|
13
|
+
DataSubEntry,
|
|
14
|
+
DataEntryImage,
|
|
15
|
+
DataSubEntryImage,
|
|
16
|
+
HyperDatasetManagement,
|
|
17
|
+
HyperDatasetQuery,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
from .backend_api import browser_login # noqa: F401
|
|
21
|
+
from .automation.controller import ( # noqa: F401
|
|
22
|
+
PipelineController, # noqa: F401
|
|
23
|
+
PipelineDecorator, # noqa: F401
|
|
24
|
+
) # noqa: F401
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
TaskTypes = Task.TaskTypes
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
__all__ = [
|
|
31
|
+
"__version__",
|
|
32
|
+
"Task",
|
|
33
|
+
"TaskTypes",
|
|
34
|
+
"InputModel",
|
|
35
|
+
"OutputModel",
|
|
36
|
+
"Model",
|
|
37
|
+
"Logger",
|
|
38
|
+
"StorageManager",
|
|
39
|
+
"UsageError",
|
|
40
|
+
"Dataset",
|
|
41
|
+
"PipelineController",
|
|
42
|
+
"PipelineDecorator",
|
|
43
|
+
"browser_login",
|
|
44
|
+
"DataEntry",
|
|
45
|
+
"DataSubEntry",
|
|
46
|
+
"DataEntryImage",
|
|
47
|
+
"DataSubEntryImage",
|
|
48
|
+
"HyperDataset",
|
|
49
|
+
"HyperDatasetManagement",
|
|
50
|
+
"DataView",
|
|
51
|
+
"HyperDatasetQuery",
|
|
52
|
+
]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""Auto-apply overlay on interpreter startup (triggered by clearml_truen_patch.pth).
|
|
2
|
+
|
|
3
|
+
Delegates to _install.needs_apply() which checks clearml version, patch
|
|
4
|
+
version, and source fingerprint. Only copies files when something changed.
|
|
5
|
+
"""
|
|
6
|
+
import sys
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _safe_apply():
|
|
10
|
+
try:
|
|
11
|
+
from clearml_truen_patch._install import (
|
|
12
|
+
run, needs_apply, _find_clearml_dir, _source_dir,
|
|
13
|
+
)
|
|
14
|
+
dst = _find_clearml_dir()
|
|
15
|
+
src = _source_dir()
|
|
16
|
+
if needs_apply(dst, src):
|
|
17
|
+
run(force=True)
|
|
18
|
+
except SystemExit:
|
|
19
|
+
# _install exits on version mismatch; swallow to protect the host process.
|
|
20
|
+
pass
|
|
21
|
+
except Exception as e:
|
|
22
|
+
sys.stderr.write(f"[clearml-truen-patch] auto-apply skipped: {e}\n")
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
_safe_apply()
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"""Overlay clearml_truen_patch content onto the installed clearml package.
|
|
2
|
+
|
|
3
|
+
Run automatically by setup.py after install, and can also be invoked manually:
|
|
4
|
+
python -m clearml_truen_patch._install
|
|
5
|
+
python -m clearml_truen_patch._install --restore
|
|
6
|
+
"""
|
|
7
|
+
import hashlib
|
|
8
|
+
import json
|
|
9
|
+
import shutil
|
|
10
|
+
import sys
|
|
11
|
+
from pathlib import Path
|
|
12
|
+
|
|
13
|
+
REQUIRED_CLEARML_VERSION = "2.1.3"
|
|
14
|
+
MARKER_FILENAME = ".truen_patch_applied.json"
|
|
15
|
+
BACKUP_DIRNAME = "clearml._truen_backup"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def _patch_version():
|
|
19
|
+
try:
|
|
20
|
+
from importlib.metadata import version
|
|
21
|
+
return version("clearml-truen-patch")
|
|
22
|
+
except Exception:
|
|
23
|
+
return "unknown"
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def _source_fingerprint(src: Path) -> str:
|
|
27
|
+
"""Hash of (relative path + content) for every source file; used to detect
|
|
28
|
+
when the installed overlay source has changed between interpreter runs."""
|
|
29
|
+
h = hashlib.sha256()
|
|
30
|
+
for f in sorted(src.rglob("*")):
|
|
31
|
+
if not f.is_file():
|
|
32
|
+
continue
|
|
33
|
+
rel = str(f.relative_to(src)).replace("\\", "/")
|
|
34
|
+
h.update(rel.encode("utf-8"))
|
|
35
|
+
h.update(b"\0")
|
|
36
|
+
h.update(f.read_bytes())
|
|
37
|
+
h.update(b"\0")
|
|
38
|
+
return h.hexdigest()
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def _find_clearml_dir():
|
|
42
|
+
try:
|
|
43
|
+
import clearml
|
|
44
|
+
except ImportError:
|
|
45
|
+
sys.exit(
|
|
46
|
+
"[clearml-truen-patch] 'clearml' is not installed. "
|
|
47
|
+
f"Install clearml=={REQUIRED_CLEARML_VERSION} first."
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
version = getattr(clearml, "__version__", None)
|
|
51
|
+
if version != REQUIRED_CLEARML_VERSION:
|
|
52
|
+
sys.exit(
|
|
53
|
+
f"[clearml-truen-patch] clearml=={REQUIRED_CLEARML_VERSION} required, "
|
|
54
|
+
f"found {version}. Aborting to avoid corrupting an unsupported version."
|
|
55
|
+
)
|
|
56
|
+
return Path(clearml.__file__).resolve().parent
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def _source_dir():
|
|
60
|
+
return Path(__file__).resolve().parent
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def needs_apply(dst: Path, src: Path) -> bool:
|
|
64
|
+
marker = dst / MARKER_FILENAME
|
|
65
|
+
if not marker.exists():
|
|
66
|
+
return True
|
|
67
|
+
try:
|
|
68
|
+
data = json.loads(marker.read_text(encoding="utf-8"))
|
|
69
|
+
except Exception:
|
|
70
|
+
return True
|
|
71
|
+
if data.get("clearml_version") != REQUIRED_CLEARML_VERSION:
|
|
72
|
+
return True
|
|
73
|
+
if data.get("patch_version") != _patch_version():
|
|
74
|
+
return True
|
|
75
|
+
if data.get("source_fingerprint") != _source_fingerprint(src):
|
|
76
|
+
return True
|
|
77
|
+
return False
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def run(force: bool = True):
|
|
81
|
+
dst = _find_clearml_dir()
|
|
82
|
+
src = _source_dir()
|
|
83
|
+
|
|
84
|
+
if not force and not needs_apply(dst, src):
|
|
85
|
+
return
|
|
86
|
+
|
|
87
|
+
backup = dst.parent / BACKUP_DIRNAME
|
|
88
|
+
if not backup.exists():
|
|
89
|
+
print(f"[clearml-truen-patch] Backing up original clearml -> {backup}")
|
|
90
|
+
shutil.copytree(dst, backup)
|
|
91
|
+
|
|
92
|
+
copied = []
|
|
93
|
+
skip_names = {"_install.py", "_autoapply.py", "__pycache__", MARKER_FILENAME}
|
|
94
|
+
for f in src.rglob("*"):
|
|
95
|
+
if any(part in skip_names for part in f.relative_to(src).parts):
|
|
96
|
+
continue
|
|
97
|
+
if not f.is_file():
|
|
98
|
+
continue
|
|
99
|
+
rel = f.relative_to(src)
|
|
100
|
+
target = dst / rel
|
|
101
|
+
target.parent.mkdir(parents=True, exist_ok=True)
|
|
102
|
+
shutil.copy2(f, target)
|
|
103
|
+
copied.append(str(rel).replace("\\", "/"))
|
|
104
|
+
|
|
105
|
+
marker = dst / MARKER_FILENAME
|
|
106
|
+
marker.write_text(
|
|
107
|
+
json.dumps(
|
|
108
|
+
{
|
|
109
|
+
"clearml_version": REQUIRED_CLEARML_VERSION,
|
|
110
|
+
"patch_version": _patch_version(),
|
|
111
|
+
"source_fingerprint": _source_fingerprint(src),
|
|
112
|
+
"files": copied,
|
|
113
|
+
},
|
|
114
|
+
indent=2,
|
|
115
|
+
),
|
|
116
|
+
encoding="utf-8",
|
|
117
|
+
)
|
|
118
|
+
print(f"[clearml-truen-patch] Overlay applied: {len(copied)} files -> {dst}")
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
def restore():
|
|
122
|
+
try:
|
|
123
|
+
import clearml
|
|
124
|
+
except ImportError:
|
|
125
|
+
sys.exit("[clearml-truen-patch] clearml is not installed; nothing to restore.")
|
|
126
|
+
dst = Path(clearml.__file__).resolve().parent
|
|
127
|
+
backup = dst.parent / BACKUP_DIRNAME
|
|
128
|
+
if not backup.exists():
|
|
129
|
+
sys.exit(f"[clearml-truen-patch] No backup found at {backup}")
|
|
130
|
+
shutil.rmtree(dst)
|
|
131
|
+
shutil.copytree(backup, dst)
|
|
132
|
+
print(f"[clearml-truen-patch] Restored original clearml from {backup}")
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
if __name__ == "__main__":
|
|
136
|
+
if len(sys.argv) > 1 and sys.argv[1] == "--restore":
|
|
137
|
+
restore()
|
|
138
|
+
else:
|
|
139
|
+
run(force=True)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from .job import ClearmlJob
|
|
2
|
+
from .controller import PipelineController, PipelineDecorator
|
|
3
|
+
from .optimization import GridSearch, RandomSearch, HyperParameterOptimizer, Objective
|
|
4
|
+
from .parameters import (
|
|
5
|
+
UniformParameterRange,
|
|
6
|
+
DiscreteParameterRange,
|
|
7
|
+
UniformIntegerParameterRange,
|
|
8
|
+
ParameterSet,
|
|
9
|
+
LogUniformParameterRange,
|
|
10
|
+
)
|
|
11
|
+
from .scheduler import TaskScheduler
|
|
12
|
+
from .trigger import TriggerScheduler
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"UniformParameterRange",
|
|
16
|
+
"DiscreteParameterRange",
|
|
17
|
+
"UniformIntegerParameterRange",
|
|
18
|
+
"ParameterSet",
|
|
19
|
+
"LogUniformParameterRange",
|
|
20
|
+
"GridSearch",
|
|
21
|
+
"RandomSearch",
|
|
22
|
+
"HyperParameterOptimizer",
|
|
23
|
+
"Objective",
|
|
24
|
+
"ClearmlJob",
|
|
25
|
+
"PipelineController",
|
|
26
|
+
"TaskScheduler",
|
|
27
|
+
"TriggerScheduler",
|
|
28
|
+
"PipelineDecorator",
|
|
29
|
+
]
|