mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 01:15:26 +08:00
[Misc] Clean up deadcode for legacy processing pipeline (#24153)
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This commit is contained in:
parent
70549c1245
commit
9c99e4871f
@ -41,9 +41,6 @@ ARCH_NEEDS_EXTRAS = [
|
||||
]
|
||||
REPO_ID_TO_SKIP = {
|
||||
"nm-testing/pixtral-12b-FP8-dynamic": "duplicated test",
|
||||
# FIXME(Isotr0py): enable GPT-OSS based InternVL3.5 model
|
||||
# after support PP for GPT-OSS
|
||||
"OpenGVLab/InternVL3_5-GPT-OSS-20B-A4B-Preview": "Broken model",
|
||||
}
|
||||
|
||||
ImageInput = list[Image.Image]
|
||||
|
||||
@ -378,10 +378,7 @@ def group_mm_inputs_by_modality(
|
||||
elif len(mm_input) == 1:
|
||||
return next(iter(mm_input.keys()))
|
||||
|
||||
# FIXME(Isotr0py): Modality of mm_input from legacy pipeline is empty,
|
||||
# this is used to make InternVL with legacy pipeline still work with v1.
|
||||
else:
|
||||
return ""
|
||||
raise AssertionError("This line should be unreachable.")
|
||||
|
||||
return [
|
||||
list(group) for _, group in groupby(mm_inputs, key=modality_group_func)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user