From 9520ca7e91c49a1f6e8b442b17dc313f530d1635 Mon Sep 17 00:00:00 2001 From: Kirill020708 <75496143+Kirill020708@users.noreply.github.com> Date: Mon, 20 Apr 2026 21:39:12 +0300 Subject: [PATCH] Update focus setting --- OpenBench/workloads/get_workload.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OpenBench/workloads/get_workload.py b/OpenBench/workloads/get_workload.py index 8d3a49e..abe803d 100644 --- a/OpenBench/workloads/get_workload.py +++ b/OpenBench/workloads/get_workload.py @@ -166,8 +166,7 @@ def compute_resource_distribution(workloads, machine, has_focus): for x in OpenBench.utils.getRecentMachines(): if x != machine and x.workload in worker_dist: - if has_focus or worker_dist[x.workload]['engine'] not in x.info.get('focus', []): - worker_dist[x.workload]['threads'] += x.info['concurrency'] + worker_dist[x.workload]['threads'] += x.info['concurrency'] # Count of tests that exist for a particular dev_engine @@ -361,4 +360,4 @@ def game_distribution(test, machine): 'cutechess-count' : spsa_count if is_multiple_spsa else worker_sockets, 'concurrency-per' : 2 if is_multiple_spsa else max_concurrency, 'games-per-cutechess' : 2 * test.workload_size * (1 if is_multiple_spsa else max_concurrency), - } \ No newline at end of file + } -- 2.47.3