Skip to content

vllm.model_executor.layers.rotary_embedding.fope

Classes:

FourierRotaryEmbedding

Bases: RotaryEmbedding

Methods:

_compute_cos_sin_cache()

Compute the cos and sin cache.

_compute_inv_freq(base)

Compute the inverse frequency.

weight_loader(param, loaded_weight)

Load fope weights.