mirror of
https://github.com/clearml/clearml-server
synced 2025-02-11 23:34:25 +00:00
Allow configuring multi-plots batch size
This commit is contained in:
parent
a17485b1bd
commit
dbe1c6f00f
@ -32,6 +32,8 @@ events_retrieval {
|
|||||||
max_raw_scalars_size: 200000
|
max_raw_scalars_size: 200000
|
||||||
|
|
||||||
scroll_id_key: "cTN5VEtWEC6QrHvUl0FTx9kNyO0CcCK1p57akxma"
|
scroll_id_key: "cTN5VEtWEC6QrHvUl0FTx9kNyO0CcCK1p57akxma"
|
||||||
|
|
||||||
|
multi_plots_batch_size: 1000
|
||||||
}
|
}
|
||||||
|
|
||||||
# if set then plot str will be checked for the valid json on plot add
|
# if set then plot str will be checked for the valid json on plot add
|
||||||
|
@ -570,7 +570,9 @@ def _get_multitask_plots(
|
|||||||
sort=[{"iter": {"order": "desc"}}],
|
sort=[{"iter": {"order": "desc"}}],
|
||||||
scroll_id=scroll_id,
|
scroll_id=scroll_id,
|
||||||
no_scroll=no_scroll,
|
no_scroll=no_scroll,
|
||||||
size=10000,
|
size=config.get(
|
||||||
|
"services.events.events_retrieval.multi_plots_batch_size", 1000
|
||||||
|
),
|
||||||
)
|
)
|
||||||
return_events = _get_top_iter_unique_events_per_task(
|
return_events = _get_top_iter_unique_events_per_task(
|
||||||
result.events, max_iters=last_iters, task_names=task_names
|
result.events, max_iters=last_iters, task_names=task_names
|
||||||
@ -776,7 +778,6 @@ def get_debug_images_v1_8(call, company_id, _):
|
|||||||
sort=[{"iter": {"order": "desc"}}],
|
sort=[{"iter": {"order": "desc"}}],
|
||||||
last_iter_count=iters,
|
last_iter_count=iters,
|
||||||
scroll_id=scroll_id,
|
scroll_id=scroll_id,
|
||||||
size=10000,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
return_events = result.events
|
return_events = result.events
|
||||||
|
Loading…
Reference in New Issue
Block a user