[CI]Disable early exit to complete all tests (#6482)
### What this PR does / why we need it? 1. Disable the feature to exit early upon encountering an error in order to complete all tests. 2. Within each partition, tests are re-sorted by `estimated_time` in ascending order. This allows the CI to cover as many test cases as possible in the early stages. ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.14.1 - vLLM main: https://github.com/vllm-project/vllm/commit/dc917cceb877dfd13f98c538c4c96158047d98bd --------- Signed-off-by: MrZ20 <2609716663@qq.com>
This commit is contained in:
1 parent
dffac6db73
commit
f4a72f0d16
3 files changed
+10
-2
No files matched your search
@@ -74,6 +74,7 @@ def auto_partition(files, rank, size):
|
||||
|
||||
# Return the files corresponding to the indices in the specified rank's partition
|
||||
indices = partitions[rank]
|
||||
indices.sort(key=lambda i: files[i].estimated_time)
|
||||
return [files[i] for i in indices]
|
||||
|
||||
|
||||
@@ -189,7 +190,7 @@ def main():
|
||||
arg_parser.add_argument(
|
||||
"--continue-on-error",
|
||||
action="store_true",
|
||||
default=False,
|
||||
default=True,
|
||||
help="Continue running remaining tests even if one fails (useful for nightly tests)",
|
||||
)
|
||||
args = arg_parser.parse_args()
|
||||
|
||||
Reference in new issue
Block a user