mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-09 11:17:14 +08:00
fix some typos (#24167)
Signed-off-by: co63oc <co63oc@users.noreply.github.com> Co-authored-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
parent
2f5e5c18de
commit
3144d90217
@ -162,7 +162,7 @@ def test_eagle_correctness(
|
|||||||
# TODO: Fix this flaky test
|
# TODO: Fix this flaky test
|
||||||
pytest.skip(
|
pytest.skip(
|
||||||
"TREE_ATTN is flaky in the test disable for now until it can be "
|
"TREE_ATTN is flaky in the test disable for now until it can be "
|
||||||
"reolved (see https://github.com/vllm-project/vllm/issues/22922)")
|
"resolved (see https://github.com/vllm-project/vllm/issues/22922)")
|
||||||
|
|
||||||
# Generate test prompts inside the function instead of using fixture
|
# Generate test prompts inside the function instead of using fixture
|
||||||
test_prompts = get_test_prompts(mm_enabled)
|
test_prompts = get_test_prompts(mm_enabled)
|
||||||
|
|||||||
@ -89,7 +89,7 @@ class Internlm2ToolParser(ToolParser):
|
|||||||
try:
|
try:
|
||||||
parsable_arr = action
|
parsable_arr = action
|
||||||
|
|
||||||
# tool calls are generated in an object in inernlm2
|
# tool calls are generated in an object in internlm2
|
||||||
# it's not support parallel tool calls
|
# it's not support parallel tool calls
|
||||||
try:
|
try:
|
||||||
tool_call_arr: dict = partial_json_parser.loads(
|
tool_call_arr: dict = partial_json_parser.loads(
|
||||||
|
|||||||
@ -195,7 +195,7 @@ class AdapterLogitsProcessor(LogitsProcessor):
|
|||||||
overridden in general. However, to implement custom constructor behavior -
|
overridden in general. However, to implement custom constructor behavior -
|
||||||
especially any logic which operates on or stores `vllm_config`, `device`,
|
especially any logic which operates on or stores `vllm_config`, `device`,
|
||||||
or `is_pin_memory` - `self.__init__(vllm_config, device, is_pin_memory)`
|
or `is_pin_memory` - `self.__init__(vllm_config, device, is_pin_memory)`
|
||||||
must be overriden and the override must call
|
must be overridden and the override must call
|
||||||
`super().__init__(vllm_config, device, is_pin_memory)`
|
`super().__init__(vllm_config, device, is_pin_memory)`
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user