[CI] add codespell CI and fix format.sh (#827)

1. Fix format check error to make format.sh work
2. Add codespell check CI 
3. Add the missing required package for vllm-ascend.

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan
2025-05-12 22:04:48 +08:00
committed by GitHub
parent 5998704c08
commit 6193ba679b
11 changed files with 60 additions and 8 deletions

View File

@@ -199,7 +199,7 @@ class SimpleBuffer(KVLookupBufferBase):
hidden = hidden.view(num_tokens, self.hidden_size)
except Exception as e:
logger.warning(
f"Faile to receive kv cache and hidden states of request: {orig_req_id} "
f"Fail to receive kv cache and hidden states of request: {orig_req_id} "
f"Error is {str(e)}")
return [None, None, None, None]

View File

@@ -113,7 +113,7 @@ def vllm_version_is(target_vllm_version: str):
raise ValueError(
f"Invalid vllm version {vllm_version} found. A dev version of vllm "
"is installed probably. Set the environment variable VLLM_VERSION "
"to control it by hand. And please make sure the vaule follows the "
"to control it by hand. And please make sure the value follows the "
"format of x.y.z.")