← Open-Weight LLM Parts Atlas home

Llama 3.1 8B

8B (dense) developers: Meta published: 2024-07-18 Llama 3.1 Community · Commercial use with conditions ↗ max context: 128K KV(BF16): 128.0 KiB/tok Text only

Standard Transformer. Baseline for comparing other models

the current LLM family started from this:, a plain Transformer (128K context-extended Llama 3.1 8B is the baseline here). Attention is GQA, FFN: SwiGLU, position is RoPE. When looking at other tabs, look for “which part of this was replaced” — that makes them easier to understand.

Interactive structure diagram · simulator (open) →

layers32
d4,096
AttentionGQA: Q 32 heads / KV 8 heads
FFNSwiGLU, intermediate 14,336
PositionRoPE (θ=500,000)
vocab128,256
License conditionsServices with monthly users of over 700M need a separate license (Built with Llama attribution required) (view original ↗)
KV calculation basis32 layers×2(K,V)×8 heads×128d×2B = 128.0 KiB/tok
Supported inferencevLLM / SGLang / llama.cpp / Transformers

Source:Llama 3 paper (Meta / 3.1 included)