inference/research
verifiedmedium · 0.80updated 2026-10-15

HF optimum-neuron on AWS inf2.48xlarge: Llama2 13B (throughput config, bs4), 504 tok/s at 256 new tokens

504.0 tok/s (aggregate across batch 4; Neuron-compiled)

Fields

id
benchmarks/hf-optimum-neuron-inf2-llama2-13b-t-4x-256new-tps
Metric
tps_aggregate
Value
504
Unit
tok/s (aggregate across batch 4; Neuron-compiled)
Model
meta-llama/Llama-2-13b-hf
Methodology
VENDOR-ADJACENT MEASURED (Hugging Face optimum-neuron team, huggingface.co/blog/inferentia-llama2). AWS inf2.48xlarge (12 Inferentia2 chips, 24 NeuronCores in use), model Neuron-compiled for max_seq 2048, input 256 tokens + 256 generated tokens, batch 4. Throughput = batch*(input+output)/e2e-latency per the blog's convention — aggregate, not per-request decode. Latency-oriented Neuron compile (bs1).
Measured by
vendor
Reproducible
yes
notes
Numbers from the published throughput table at 256 new tokens (256-input). Compiled-model Neuron SDK figures — no llama.cpp/vLLM path exists on Inferentia. inf2.48xlarge = 12x Inferentia2 chips over NeuronLink v2; the 24-core compile uses 2 chips' worth of cores (each chip has 2 NeuronCores v2) — per the blog all non-budget configs span the full instance.

Notes

Numbers from the published throughput table at 256 new tokens (256-input). Compiled-model Neuron SDK figures — no llama.cpp/vLLM path exists on Inferentia. inf2.48xlarge = 12x Inferentia2 chips over NeuronLink v2; the 24-core compile uses 2 chips' worth of cores (each chip has 2 NeuronCores v2) — per the blog all non-budget configs span the full instance.

Cross-references