longcat_flash_tiny
Meituan's 560B shortcut-connected MoE language model, traced here as a tiny random-config base model.
Language · 270 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Language
- Parameters
- 534.2K
- Operations
- 270
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2025
- Source
- transformers 5.18.0
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m5653
- Graph hash
- 2535e2a9739cda228a0244cd88af5bdfaf3ced0042b9b265af57837bcdab2919
- Skeleton hash
- 8c4aa19f3ce83ffe9646c3b16ef4eae2ee77a625e9c818853beff965f97f9153
- Architecture hash
- ee8d5960074a75d1377c055ddb175bce7ce6597ce71dd7dfa8a02eb58e5c6009
- Diagram SHA-256
- 17b76d3d5fe551a998149ee349a4833e5085ce2d96a68ed0cbe54880af822cdf
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
transformers.AutoModel.from_config()
What it is
LongCat-Flash was proposed in the LongCat-Flash Technical Report by the Meituan LongCat Team. It is a 560B parameter Mixture-of-Experts model that activates between 18.6B and 31.3B parameters per token, about 27B on average. Its distinguishing feature is a shortcut-connected architecture, which the documentation credits for inference speed above 100 tokens per second. The MoE includes zero experts, plain identity modules that act as skip connections so tokens can bypass expert computation when appropriate.
The model supports up to 128k context length for long-form tasks. The documentation calls it best suited for applications requiring strong reasoning, coding and tool-calling capabilities. The released model is large: the documentation says you need 2x8 H100 GPUs to run inference.
Key idea. A 560 billion parameter Mixture-of-Experts language model with a dynamic computation mechanism that activates 18.6B to 31.3B parameters depending on context, plus a shortcut-connected architecture for fast inference.
- longcat-flash
- longcat flash
- longcatflash
- meituan
- mixture of experts
- moe
- shortcut-connected moe
- zero experts
- large language model
- longcat-flash-chat
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.