[CI] Optimize nightly CI (#3858)
### What this PR does / why we need it?
This patch optimize nightly CI:
1. Bug fixes ais_bench get None repo_type error
2. Fix A2 install kubectl error with arm arch
3. Fix the multi_node CI unable to determine whether the job was
successful error
### Does this PR introduce _any_ user-facing change?
### How was this patch tested?
- vLLM version: v0.11.0rc3
- vLLM main:
83f478bb19
---------
Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
@@ -284,12 +284,12 @@ def get_lock(model_name_or_path: str | Path, cache_dir: str | None = None):
|
||||
|
||||
def maybe_download_from_modelscope(
|
||||
model: str,
|
||||
repo_type: str | None = None,
|
||||
repo_type: str = "model",
|
||||
revision: str | None = None,
|
||||
download_dir: str | None = None,
|
||||
ignore_patterns: str | list[str] | None = None,
|
||||
allow_patterns: list[str] | str | None = None,
|
||||
) -> str | None:
|
||||
) -> str:
|
||||
"""
|
||||
Download model/dataset from ModelScope hub.
|
||||
Returns the path to the downloaded model, or None if the model is not
|
||||
@@ -310,5 +310,4 @@ def maybe_download_from_modelscope(
|
||||
)
|
||||
else:
|
||||
model_path = model
|
||||
return model_path
|
||||
return None
|
||||
return model_path
|
||||
|
||||
Reference in New Issue
Block a user