vllm.model_executor.layers.mamba.abstract ¶
Classes:
-
MambaBase–Base class for Mamba-like layers which support the v1 engine.
MambaBase ¶
Bases: AttentionLayerBase
Base class for Mamba-like layers which support the v1 engine. Inherit from this class if you implement a custom layer.
Methods:
-
get_attn_backend–Get the attention backend class for this Mamba layer.
-
get_state_shape–Defines the shape of the state.