HomeModel Memory FitLlama 3.1 8B Instruct › Jetson Orin NX 8GB
Model Memory Fit · Llama 3.1 8B Instruct on Jetson Orin NX 8GB

Llama 3.1 8B Instruct on Jetson Orin NX 8GB: TIGHT

Method v1.0 · dataset 2026-09-07 · verified 2026-09-07 · last updated September 2026

Llama 3.1 8B Instruct at GGUF Q4_K_M / INT4 (AWQ, MLC q4f16), 4096 tokens × 1 sequence on Jetson Orin NX 8GB: 7.3 GB of 8.0 GB — TIGHT (91%). Weights 4.6 GB (class A) + KV cache 0.5 GB + runtime 0.7 GB + OS 0.9 GB + reserve.

Q4 quantisation · 4096-token context · 1 sequence · llama.cpp · headless. Change any of those on the live engine.

Memory breakdown

PartAmountEvidenceBasis
Weights4.6 GBclass AMeta-Llama-3.1-8B-Instruct-Q4_K_M.gguf: 4.921 GB published file size
KV cache0.5 GBclass D2 × layers × KV heads × head dim × 4096 tokens × 2 bytes × 1 sequence
Runtime overhead0.7 GBclass Ellama.cpp / Ollama: 400 MB base + 6% of weights (CUDA context + compute buffer for the prompt batch (n_batch 512))
OS headroom0.9 GBclass Eheadless
Reserve0.7 GBclass E10% of subtotal
Total7.3 GBof 8.0 GB — 91% — TIGHT

Weights source

  • bartowski (community GGUF) · hf:bartowski/Meta-Llama-3.1-8B-Instruct-GGUF · verified 2026-09-07 · source · class A
    Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf 4.921 GB (published file size)

Headroom

Largest context that fits at 1 sequence: tokens. Max concurrent sequences at 4096 tokens: 0. Sequence ladder: 0 comfortable (≤60%) · 0 likely viable (≤85%) · fails at 3.

Other quantisations on Jetson Orin NX 8GB

QuantisationWeight sourceTotalVerdict
FP16 / BF16estimated19 GBDOES NOT FIT
FP8 (E4M3)estimated11 GBDOES NOT FIT
INT8 / GGUF Q8_0measured artefact11 GBDOES NOT FIT
GGUF Q4_K_M / INT4 (AWQ, MLC q4f16)measured artefact7.3 GBTIGHT
NVFP4estimated6.9 GBTIGHT

Llama 3.1 8B Instruct on other modules

Constraints

TypeRequiredAvailableUtilizationStatusEvidence · confidenceSource / method
memory7,466 MB8,192 MB91%NEAR_LIMITD · MEDIUMNVIDIA · nvidia.com:jetson-modules-spec-table · verified 2026-09-07

Sources

  • NVIDIA · nvidia.com:jetson-modules-spec-table · verified 2026-09-07 · source · class A
    Jetson Orin NX 8GB: 8 GB
  • Hugging Face (mirror: NousResearch/Meta-Llama-3.1-8B-Instruct) · hf:NousResearch/Meta-Llama-3.1-8B-Instruct · config.json · verified 2026-09-07 · source · class A
    layers 32, kv_heads 8, head_dim 128, max context 131072
  • bartowski (community GGUF) · hf:bartowski/Meta-Llama-3.1-8B-Instruct-GGUF · verified 2026-09-07 · source · class A
    Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf 4.921 GB (published file size)
  • NVIDIA · nvidia-blog:mastering-llm-techniques-inference-optimization · Key-value caching · verified 2026-09-07 · source · class A
    KV cache size per token = 2 × (num_layers) × (num_heads × dim_head) × precision_in_bytes
  • NVIDIA · nvidia-docs:cuda-for-tegra-appnote · Memory Management · verified 2026-09-07 · source · class A
    Jetson iGPU and CPU share the same DRAM: OS, runtime and model all draw on one pool.

Assumptions

  • Weights: Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf: 4.921 GB published file size (class A).
  • KV cache: 2 × 32 layers × 8 KV heads × 128 head dim × 4096 tokens × 2 bytes × 1 sequence = 512 MB (class D formula).
  • Runtime overhead: llama.cpp / Ollama: 400 MB base + 6% of weights (CUDA context + compute buffer for the prompt batch (n_batch 512)) (class E).
  • OS 900 MB (headless) + 10% reserve from the shared memory budget (class E).

Warnings

  • 7.3 GB of 8 GB — above 85%; expect swapping under load.

Method and limitations

total = weights (published artefact size, else parameters × bytes per parameter) + KV cache (2 × layers × KV heads × head dim × context × bytes × sequences) + vision tower (VLM) + runtime overhead + OS headroom + reserve, on the memory budget shared with Camera Stream Capacity. Verdict: FITS < 85% of module memory ≤ TIGHT < 100% ≤ DOES_NOT_FIT. Vision pipelines take their per-part figures from the memory estimator and are rebuilt on the same budget.

  • Weights are class A when a published quantised artefact matches; otherwise parameters × bytes-per-parameter is class D for block quants (Q4, INT8, NVFP4) and class A for fixed-width types (FP16, FP8).
  • KV cache, runtime overhead, OS headroom and reserve are class D/E formulas — engineering models, not vendor measurements. Validate on device with sudo tegrastats; llama.cpp prints its own KV and compute-buffer sizes at load.
  • Full method, evidence classes and the confidence rule: Model Memory Fit methodology.

Change one input and re-run.

The live engine keeps every source line and gives you a fresh permalink and summary.

OPEN THIS WORKLOAD LIVE →