mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 13:20:12 +06:00
parent
09edd77f64
commit
a45c514899
@ -152,7 +152,7 @@ class CircleCIJob:
|
|||||||
tests = " ".join(expanded_tests)
|
tests = " ".join(expanded_tests)
|
||||||
|
|
||||||
# Each executor to run ~10 tests
|
# Each executor to run ~10 tests
|
||||||
n_executors = max(len(tests) // 10, 1)
|
n_executors = max(len(expanded_tests) // 10, 1)
|
||||||
# Avoid empty test list on some executor(s) or launching too many executors
|
# Avoid empty test list on some executor(s) or launching too many executors
|
||||||
if n_executors > self.parallelism:
|
if n_executors > self.parallelism:
|
||||||
n_executors = self.parallelism
|
n_executors = self.parallelism
|
||||||
|
Loading…
Reference in New Issue
Block a user