Repair MiniCPM-o and InternVLA scoped E2E paths
This commit is contained in:
1 parent
2d8b1d4583
commit
c0deaa76ba
36 files changed
+3498
-83
No files matched your search
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Run the MiniCPM-o thinker alone to isolate text quality from speech stages.
|
||||
|
||||
This temporarily narrows the registered pipeline in this process. It is a
|
||||
diagnostic route, not a replacement for the shipped three-stage topology.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import replace
|
||||
|
||||
from vllm_omni.config.pipeline_registry import OMNI_PIPELINES
|
||||
from vllm_omni.model_executor.models.minicpmo_4_5.pipeline import MINICPMO_4_5_PIPELINE
|
||||
|
||||
|
||||
def main() -> None:
|
||||
OMNI_PIPELINES["minicpmo_4_5"] = replace(
|
||||
MINICPMO_4_5_PIPELINE,
|
||||
stages=(MINICPMO_4_5_PIPELINE.stages[0],),
|
||||
duplex_runtime_extension=None,
|
||||
duplex_serving_adapter=None,
|
||||
duplex_control_enabled=False,
|
||||
)
|
||||
from examples.offline_inference.minicpmo.end2end import main as run_example
|
||||
from examples.offline_inference.minicpmo.end2end import parse_args
|
||||
|
||||
run_example(parse_args())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in new issue
Block a user