[Misc] Clean up deadcode for legacy processing pipeline (#24153)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This commit is contained in:
Isotr0py 2025-09-03 16:34:29 +08:00 committed by GitHub
parent 70549c1245
commit 9c99e4871f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 7 deletions

View File

@ -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]

View File

@ -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)