vllm.model_executor.models.zaya
¶
Inference-only ZAYA1 model.
Classes:
-
ZayaCCA–Compressed Convolutional Attention q/k/v projection.
-
ZayaRouter–Picks an expert per token; an extra "skip" class bypasses the experts.
ZayaCCA
¶
Compressed Convolutional Attention q/k/v projection.
q/k mix over a causal conv of the raw projections, and half of v comes from the previous token, so each request keeps that history in Mamba state.
_mix_with_state(metadata, qk, delayed, delayed_init)
¶
Causal conv of qk and the previous token's delayed value, reading
and updating each request's state without syncing with the host.
Decodes are one-token requests that always continue from their state.
_cca_state_shapes(config)
¶
(raw q/k history, previous delayed value) of one CCA layer.