Skip to content

vllm.model_executor.models.longcat_flash

Inference-only Flash model compatible with HuggingFace weights.

Classes:

Functions:

FlashDecoderLayer

Bases: Module

Flash decoder layer with dual attention and MLP structure.

FlashMLP

Bases: Module

Flash MLP layer.

FlashModel

Bases: Module

Flash model.

LongcatFlashForCausalLM

Bases: Module, SupportsLoRA, SupportsPP

Flash model for causal language modeling.

scale_mla_lora_norms_on_load(self_attn, config)

Fold LongCat's MLA LoRA scaling into the q/kv_a_layernorm weight loaders.