The Model Zoo
Reference Workloads for Systems Modeling
The Model Zoo defines the Computational Demand placed on the hardware. Every workload is pulled from the mlsysim.Models registry and characterized by its FLOPs, parameter count, and architecture type, independent of any specific hardware.
The key number for roofline analysis is each model’s arithmetic intensity, the number of floating-point operations it performs per byte of memory loaded. Models with low arithmetic intensity (small batch, decoder-only inference) tend to be memory-bound on any hardware. Pair these specs with the Silicon Zoo to find the bottleneck.
Workload Types
MLSys·im supports six concrete workload architectures, each with distinct scaling characteristics:
| Type | Architecture | Key Characteristic | Example Models |
|---|---|---|---|
| Transformer | Dense attention | 2P FLOPs/token + quadratic prefill attention; KV-cache grows with sequence length | GPT-4, LLaMA, BERT |
| Sparse (MoE) | Mixture-of-Experts | Active params ≪ total params; expert-parallel All-to-All dispatch | Mixtral, DeepSeek-V3 |
| CNN | Convolutional | Fixed FLOPs per image; spatial feature-map reuse | ResNet-50, EfficientNet |
| SSM (Mamba) | State-space model | O(1) recurrent state cache; linear-time sequence processing | Mamba-130M, Mamba-2.8B |
| Diffusion | Iterative denoising | \(T \times\) FLOPs/step; latency scales linearly with denoising steps | Stable Diffusion v1.5 |
| Embodied (VLA) | Sensorimotor policy | Closed-loop perception-to-action policies under real-time control deadlines | OpenVLA-7B, Octo, ACT |
For Sparse/MoE models, parameters refers to total parameters (used for memory sizing), while active_parameters refers to the subset active per token (used for FLOP counting). This distinction matters: DeepSeek-V3 stores 671B total parameters but activates 37B per token, and Mixtral-8x7B stores 46.7B total parameters while activating 12.9B per forward pass.
Vetted Model Registry
Large Language & MoE Models
| Model | Architecture | Parameters | Inference FLOPS | Layers |
|---|---|---|---|---|
| BERT-Base | Transformer | 110.0 Mparam | 22.0 GFLOPs | 12 |
| BERT-Large | Transformer | 340.0 Mparam | 72.0 GFLOPs | 24 |
| Chinchilla (70B) | Transformer | 70.0 Bparam | 140.0 GFLOPs | 80 |
| DeepSeek-V3 | MoE Transformer | 671.0 Bparam | 74.0 GFLOPs | 61 |
| GPT-2 (1.5B) | Transformer | 1.5 Bparam | 3.0 GFLOPs | 48 |
| GPT-2 Small (124M) | Transformer | 124.0 Mparam | 248.0 MFLOPs | 12 |
| GPT-3 (175B) | Transformer | 175.0 Bparam | 350.0 GFLOPs | 96 |
| GPT-4 | MoE Transformer | 1.8 Tparam | 560.0 GFLOPs | 120 |
| Llama-2-13B | Transformer | 13.0 Bparam | 26.0 GFLOPs | 40 |
| Llama-2-70B | Transformer | 70.0 Bparam | 140.0 GFLOPs | 80 |
| Llama-2-7B | Transformer | 7.0 Bparam | 14.0 GFLOPs | 32 |
| Llama-3.1-405B | Transformer | 405.0 Bparam | 810.0 GFLOPs | 126 |
| Llama-3.1-70B | Transformer | 70.6 Bparam | 141.2 GFLOPs | 80 |
| Llama-3.1-8B | Transformer | 8.0 Bparam | 16.1 GFLOPs | 32 |
| Mixtral-8x7B | MoE Transformer | 46.7 Bparam | 25.8 GFLOPs | 32 |
| OPT-13B | Transformer | 13.0 Bparam | — | 40 |
| PaLM (540B) | Transformer | 540.0 Bparam | 1.1 TFLOPs | 118 |
Vision Models (CNNs & ViTs)
| Model | Architecture | Parameters | Inference FLOPS | Layers |
|---|---|---|---|---|
| AlexNet | CNN | 60.0 Mparam | 1.5 GFLOPs | 8 |
| EfficientNet-B0 | CNN | 5.3 Mparam | 780.0 MFLOPs | None |
| EfficientNet-B4 | CNN | 19.0 Mparam | 8.4 GFLOPs | None |
| EfficientNet-B7 | CNN | 66.0 Mparam | 74.0 GFLOPs | None |
| LeNet-1 | CNN | 10.0 Kparam | — | — |
| MobileNetV1 | CNN | 4.2 Mparam | 1.1 GFLOPs | None |
| MobileNetV2 | CNN | 3.5 Mparam | 600.0 MFLOPs | 54 |
| MobileNetV2 (alpha=0.5) | CNN | 2.0 Mparam | — | — |
| MobileNetV2 (alpha=0.5 feature extractor) | CNN | 687.7 Kparam | — | — |
| MobileNetV2 (alpha=0.75) | CNN | 2.6 Mparam | 418.0 MFLOPs | None |
| MobileNetV3-Large | CNN | 5.4 Mparam | 438.0 MFLOPs | None |
| ResNet-18 | CNN | 11.7 Mparam | 3.6 GFLOPs | 18 |
| ResNet-50 | CNN | 25.6 Mparam | 8.2 GFLOPs | 50 |
| VGG-16 | CNN | 138.4 Mparam | 31.0 GFLOPs | 16 |
| ViT-L/16 | Vision Transformer | 307.0 Mparam | — | — |
| YOLOv8-Nano | CNN | 3.2 Mparam | 8.7 GFLOPs | 225 |
State-Space Models (SSMs)
| Model | Architecture | Parameters | Inference FLOPS | Layers |
|---|---|---|---|---|
| Mamba-130M | SSM | 130.0 Mparam | 260.0 MFLOPs | 24 |
| Mamba-2.8B | SSM | 2.8 Bparam | 5.6 GFLOPs | 64 |
Generative Vision (Diffusion)
| Model | Architecture | Parameters | Inference FLOPS | Layers |
|---|---|---|---|---|
| Stable Diffusion v1.5 | Diffusion/U-Net | 860.0 Mparam | 20.0 GFLOPs | — |
Recommendation Models
| Model | Architecture | Parameters | Inference FLOPS | Layers |
|---|---|---|---|---|
| DLRM | DLRM | — | — | — |
Embodied & VLA Policies
| Model | Architecture | Parameters | Inference FLOPS | Layers |
|---|---|---|---|---|
| Action Chunking with Transformers (ALOHA) | C-VAE Transformer | 80.0 Mparam | — | 11 |
| Diffusion Policy (Push-T) | CNN Diffusion Policy | 16.0 Mparam | — | None |
| Octo-Base | Transformer Diffusion Policy | 93.0 Mparam | — | 12 |
| OpenVLA-7B | VLA (Prismatic / Llama-2-7B) | 7.0 Bparam | — | 32 |
TinyML Models
| Model | Architecture | Parameters | Inference FLOPS | Layers |
|---|---|---|---|---|
| Anomaly Detector | MLP | 270.0 Kparam | 540,000.0 flop | — |
| DS-CNN (KWS) | CNN | 200.0 Kparam | 20.0 MFLOPs | None |
| Wake Vision (Doorbell) | CNN | 250.0 Kparam | 25.0 MFLOPs | None |
How to Read the Model Zoo
Parameters vs. Inference FLOPs
These two numbers measure different things:
- Parameters determine memory footprint: at fp16, each parameter is 2 bytes. Llama-3.1-70B (70.6B parameters) needs 141.2 GB for the weights alone, more than a single 80 GiB (85.9 GB) A100 holds.
- Inference FLOPs determine compute time: the total floating-point operations for one forward pass. Higher FLOPs means more work for the GPU’s compute cores.
The ratio of FLOPs to memory accessed (the arithmetic intensity) determines whether a workload is compute-bound or memory-bound. At small batch sizes, most models are memory-bound because the weights must be loaded regardless of batch size.
Matching Models to Hardware
As a rough guide:
- TinyML MCUs (192 KiB–4 MiB memory): only
Tinymodels fit (DS-CNN, MicroSpeech, WakeVision) - Edge devices (Jetson, 8–64 GiB): small Vision and Language models at int8
- Single Cloud GPU (80–141 GiB): models up to ~30B parameters at fp16 on an 80 GiB GPU
- Multi-GPU clusters: 70.6B+ models in fp16 require distributed serving or training
Textbook Connection
Vol I · Ch 8: Model Training (Study sheet · Slides) and Vol I · Ch 13: Model Serving (Study sheet · Slides) use these workload profiles for roofline analysis and serving capacity planning. Vol I · Ch 10: Model Compression (Study sheet · Slides) shows how quantization shrinks weight bytes per parameter and unlocks higher-rate low-precision Tensor Core pipelines, while pruning and distillation reduce arithmetic FLOPs directly.
Custom workloads are straightforward to define: extend the registry, or instantiate a TransformerWorkload, SparseTransformerWorkload, CNNWorkload, SSMWorkload, DiffusionWorkload, or EmbodiedWorkload object directly in code. Learn more in the Contributing Guide and the Models API Reference.
Browse the Model Zoo from the terminal: mlsysim zoo models
For dynamic memory footprint and KV-cache calculations, see the API Reference.