# Whats is Mamba and Hybrid model？

**URL:** <https://discuss.vllm.ai/t/whats-is-mamba-and-hybrid-model/2462>\
**Category:** General\
**Created:** [March 17, 2026, 3:03pm UTC](https://discuss.vllm.ai/t/whats-is-mamba-and-hybrid-model/2462 "2026-03-17T15:03:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyena126](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.vllm.ai/hyena126/32/1157_2.png) [@hyena126](https://discuss.vllm.ai/u/hyena126)\
**Post date:** [March 17, 2026, 3:03pm UTC](https://discuss.vllm.ai/t/whats-is-mamba-and-hybrid-model/2462/1 "2026-03-17T15:03:48Z")

</div>

(APIServer pid=22031) WARNING 03-17 22:16:08 [config.py:381] Mamba cache mode is set to ‘align’ for Qwen3\_5ForConditionalGeneration by default when prefix caching is enabled  
(APIServer pid=22031) INFO 03-17 22:16:08 [config.py:401] Warning: Prefix caching in Mamba cache ‘align’ mode is currently enabled. Its support for Mamba layers is experimental. Please report any issues you may observe. in here，Whats is Mamba？

---

<div class="post-metadata">

**Author:** ![RunLLM](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.vllm.ai/runllm/32/233_2.png) [@RunLLM](https://discuss.vllm.ai/u/RunLLM)\
**Post date:** [March 17, 2026, 3:04pm UTC](https://discuss.vllm.ai/t/whats-is-mamba-and-hybrid-model/2462/2 "2026-03-17T15:04:11Z")

</div>

Mamba is a type of neural network layer used in some large language models (LLMs) as an alternative or complement to traditional attention mechanisms. Specifically, Mamba layers implement state space models (SSMs) that can efficiently model long-range dependencies in sequences, and are often used in “hybrid” architectures alongside attention layers. In vLLM, Mamba layers require special handling for caching and prefix reuse, which is why you see experimental support warnings when enabling prefix caching with Mamba-based models like Qwen3.5—for these, the “align” cache mode is used by default when prefix caching is enabled, but support is still under development and may not be fully stable or optimized yet. See [MambaBase documentation](https://docs.vllm.ai/en/latest/api/vllm/model_executor/layers/mamba/abstract/) and [Qwen3.5 configuration tips](https://docs.vllm.ai/projects/recipes/en/latest/Qwen/Qwen3.5.html#configuration-tips) for more details.

Would you like a deeper technical explanation of how Mamba layers work or how they interact with caching in vLLM?

Sources:

- [https://docs.vllm.ai/en/latest/api/vllm/model\_executor/layers/mamba/abstract/](https://docs.vllm.ai/en/latest/api/vllm/model_executor/layers/mamba/abstract/)
- [Qwen3.5 configuration tips](https://docs.vllm.ai/projects/recipes/en/latest/Qwen/Qwen3.5.html#configuration-tips)

Hint: Mention @RunLLM in the post for followups.

---

<div class="post-metadata">

**Author:** ![hyena126](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.vllm.ai/hyena126/32/1157_2.png) [@hyena126](https://discuss.vllm.ai/u/hyena126)\
**Post date:** [March 17, 2026, 3:10pm UTC](https://discuss.vllm.ai/t/whats-is-mamba-and-hybrid-model/2462/4 "2026-03-17T15:10:18Z")

</div>

is GLM5 include mamba layer？
