bridge.models.minicpmo.minicpmo_builder#

Construct MiniCPM-o through Bridge’s existing GPT builder.

Module Contents#

Classes#

MiniCPMOModelBuilder

Compose native perception and the shared Qwen3-compatible decoder.

API#

class bridge.models.minicpmo.minicpmo_builder.MiniCPMOModelBuilder#

Bases: megatron.bridge.models.gpt.gpt_builder.GPTModelBuilder

Compose native perception and the shared Qwen3-compatible decoder.

build_model(
pg_collection: megatron.core.process_groups_config.ProcessGroupCollection,
pre_process: bool | None = None,
post_process: bool | None = None,
vp_stage: int | None = None,
) → megatron.bridge.models.minicpmo.modeling_minicpmo.MiniCPMOModel#

Build the initial dense understanding model, rejecting unsupported modes.