vllm_omni.transformers_utils.configs.sensenova_u1 ¶
HuggingFace-style configuration classes for SenseNova-U1.
SenseNovaU1Config ¶
Bases: PretrainedConfig
Top-level composite config for SenseNova-U1.
Nests llm_config and vision_config sub-configs alongside the flow-matching / diffusion parameters. When constructed from a dict (e.g. via from_pretrained), sub-dicts are automatically promoted to their typed config objects.
add_noise_scale_embedding instance-attribute ¶
llm_config instance-attribute ¶
llm_config = (
_build_llm_config(llm_config)
if llm_config is not None
else SenseNovaU1LLMConfig()
)
noise_scale_base_image_seq_len instance-attribute ¶
SenseNovaU1LLMConfig ¶
Bases: Qwen3Config
Qwen3-based LLM backbone config with 3D RoPE extensions.
max_position_embeddings_hw instance-attribute ¶
SenseNovaU1MoELLMConfig ¶
Bases: Qwen3MoeConfig
Qwen3-MoE LLM backbone config for SenseNova-U1-A3B.
gen_moe_intermediate_size instance-attribute ¶
gen_moe_intermediate_size = (
int(gen_moe_intermediate_size)
if gen_moe_intermediate_size is not None
else int(self.moe_intermediate_size)
)
gen_num_experts instance-attribute ¶
gen_num_experts = (
int(gen_num_experts)
if gen_num_experts is not None
else int(self.num_experts)
)
gen_num_experts_per_tok instance-attribute ¶
gen_num_experts_per_tok = (
int(gen_num_experts_per_tok)
if gen_num_experts_per_tok is not None
else int(self.num_experts_per_tok)
)
max_position_embeddings_hw instance-attribute ¶
SenseNovaU1VisionConfig ¶
Bases: PretrainedConfig
Vision embedding config (2D RoPE + conv patch embed, no transformer).