Unverified Commit 9c99e487 authored by Isotr0py's avatar Isotr0py Committed by GitHub
Browse files

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


Signed-off-by: default avatarIsotr0py <mozf@mail2.sysu.edu.cn>
parent 70549c12
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment