vllm_omni.transformers_utils.configs.yue2 ¶
HuggingFace config for m-a-p/YuE2-3B.
The checkpoint's own config.json already carries every field the AR backbone needs (it is Qwen3-1.7B-shaped with q_norm/k_norm and an extended 184,704-entry vocabulary), plus the acoustic-side fields (latent_dim, max_latent_frames, timestep_shift). Registering this class lets vLLM build a ModelConfig without trust_remote_code: the package's own Yue2ForCausalLM replaces the repository's auto_map modeling code, and the deploy YAML pins hf_overrides.architectures to it.
Yue2Config ¶
Bases: PretrainedConfig
Config for the YuE2-3B AR–NAR Mixture-of-Transformers checkpoint.