Skip to content

vllm.model_executor.models.lfm3

Inference-only LFM3 model compatible with HuggingFace weights.

Functions:

get_rotary_embedding(config, layer_type)

RoPE of one attention layer type: proportional rotates the first partial_rotary_factor of the head with frequencies spread over the whole head, as the released full-attention layers do.