Skip to content

Llama 4 Maverick 17B 128E Instruct (Q5_K_XL) — 79.4 GBon NVIDIA A100 80GB

Meta
Code Multilingual Tool Calls Vision
Q5_K_XL NVIDIA A100 80GB

Overview

Llama 4 Maverick 17B 128E Instruct is a 396.58B parameter moe language model by Meta, with code, multilingual, tool-calls, vision capabilities. It supports a context window of up to 1,048,576 tokens.

Llama 4 Maverick 17B 128E Instruct is a large-scale Mixture-of-Experts model from Meta with 17 billion parameters per expert and 128 experts, activating one expert per token for a total of approximately 400 billion parameters. It delivers frontier-class performance on vision, code generation, and multilingual tasks across 12 languages. Maverick represents the high-capacity tier of the Llama 4 family, trading higher memory requirements for stronger benchmark results. With a 1M token context window, it requires multi-GPU setups but quantizes down to Q2 levels.

At Q5_K_XL quantization (medium quality tier), the model weighs 267.29 GB. This exceeds the 80 GB of VRAM on NVIDIA A100 80GB. Inference is still possible via CPU offload or memory-mapped loading from disk, but expect significantly reduced performance.

The NVIDIA A100 80 GB is a datacenter GPU with 80 GB of HBM2e VRAM and 2039 GB/s memory bandwidth. It delivers 312 FP16 TFLOPS, enabling fast inference on large language models up to 70B parameters at moderate quantization. Well suited for datacenter teams running production LLM workloads that require high memory capacity and throughput.

Hardware Requirements

Model size 267.29 GB
VRAM available 80 GB
VRAM used 79.4 GB
Min RAM required 266.8 GB
GPU layers 48 / 48
Context size 423,986
Backend cuda13
Flash attention Yes

Performance Notes

Deploy

Prerequisites

Ensure your GPU nodes are prepared with the NVIDIA container toolkit:

ansible-playbook prositronic.infra.nvidia_container_toolkit

Command

helmfile --state-values-file <(curl -s https://www.prositronic.eu/values/llama-4-maverick-17b-128e-instruct/q5_k_xl/nvidia-a100-80gb.yaml) apply

Generated values.yaml

/values/llama-4-maverick-17b-128e-instruct/q5_k_xl/nvidia-a100-80gb.yaml

Loading values…

Frequently Asked Questions

How much VRAM does Llama 4 Maverick 17B 128E Instruct (Q5_K_XL) need?

The Q5_K_XL quantization of Llama 4 Maverick 17B 128E Instruct requires 267.29 GB. All 48 layers fit in the 80 GB of VRAM available on NVIDIA A100 80GB, enabling full GPU acceleration.

Can I run Llama 4 Maverick 17B 128E Instruct on NVIDIA A100 80GB?

Yes. NVIDIA A100 80GB provides 80 GB of VRAM, which is enough to run Llama 4 Maverick 17B 128E Instruct (Q5_K_XL) with all layers on the GPU for optimal performance.

What is quantization?

Quantization reduces a model's numerical precision from its original floating-point format to a more compact representation. This shrinks the file size and VRAM footprint, making it possible to run large models on consumer hardware. The trade-off is a small reduction in output quality. Q5_K_XL compresses Llama 4 Maverick 17B 128E Instruct from its original size down to 267.29 GB.

What quantization should I choose for Llama 4 Maverick 17B 128E Instruct?

Q5_K_XL is a medium-quality quantization. Higher-quality quants (Q8, Q6) preserve more model accuracy but need more VRAM. Lower quants (Q4, Q3, Q2) reduce VRAM usage at the cost of some quality. Choose based on your available hardware and quality requirements.

What is flash attention and why is it enabled?

Flash attention is a memory-efficient algorithm that speeds up the attention mechanism in transformer models. It reduces VRAM usage during inference by avoiding the materialisation of the full attention matrix. For Llama 4 Maverick 17B 128E Instruct on NVIDIA A100 80GB, flash attention is enabled to maximise context length and throughput within the available 80 GB of VRAM.

What is MoE and how does it affect deployment?

Llama 4 Maverick 17B 128E Instruct uses a Mixture-of-Experts (MoE) architecture with 128 experts, of which 1 are active per token. This means only a fraction of the model weights are used for each inference step, allowing MoE models to be larger in total parameter count while remaining efficient at inference time.

How do I run Llama 4 Maverick 17B 128E Instruct (Q5_K_XL) with Ollama?

Run ollama run llama4:17b-maverick-128e-instruct-q5_k_xl to start Llama 4 Maverick 17B 128E Instruct (Q5_K_XL). Ollama handles downloading the model weights automatically on first run.

Last updated: March 5, 2026