8000 tone it down · bigcode-project/selfcodealign@47c9bda · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 47c9bda

Browse files
committed
tone it down
1 parent 40ce575 commit 47c9bda

File tree

8000

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/star_align/execution_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def main(
167167
run_func = containerized_run if container_server else fork_run
168168

169169
nfails = 0
170-
tasks_chunks = chunked(active_tasks, 10000)
170+
tasks_chunks = chunked(active_tasks, os.cpu_count())
171171
with open(result_path, "a") as f:
172172
with ProcessPoolExecutor(max_workers=max_workers) as executor:
173173
for chunked_tasks in tqdm(tasks_chunks):

0 commit comments

Comments
 (0)
0