mirror of
https://github.com/clearml/clearml
synced 2025-01-31 09:07:00 +00:00
Add client version to runtime properties
This commit is contained in:
parent
1953fcc519
commit
88259094ac
@ -791,7 +791,8 @@ class Task(_Task):
|
||||
# monitoring are: Resource monitoring and Dev Worker monitoring classes
|
||||
BackgroundMonitor.start_all(task=task)
|
||||
|
||||
task.set_progress(0)
|
||||
# noinspection PyProtectedMember
|
||||
task._set_startup_info()
|
||||
return task
|
||||
|
||||
@classmethod
|
||||
@ -3076,6 +3077,12 @@ class Task(_Task):
|
||||
# noinspection PyProtectedMember
|
||||
return OutputModel._text_to_config_dict(config_text)
|
||||
|
||||
def _set_startup_info(self):
|
||||
# type: () -> ()
|
||||
self._set_runtime_properties(
|
||||
runtime_properties={"CLEARML VERSION": self.session.client, "CLI": sys.argv[0], "progress": "0"}
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def _reset_current_task_obj(cls):
|
||||
if not cls.__main_task:
|
||||
|
@ -25,7 +25,7 @@ sdk {
|
||||
|
||||
# {
|
||||
# registered_prefix = "s3://bucket/research"
|
||||
# local_prefix = "file:///mnt/shared/bucket/research
|
||||
# local_prefix = "file:///mnt/shared/bucket/research"
|
||||
# },
|
||||
# {
|
||||
# registered_prefix = "file:///mnt/shared/folder/"
|
||||
|
Loading…
Reference in New Issue
Block a user