Aller au contenu principal
Vantaige

Base de Connaissances Techniques

Glossaire Technique VRAM & LLM Locaux

Des explications claires et concrètes pour plus de 50 termes essentiels de l'IA locale, de la quantification, de l'attention et de la mémoire vidéo, sans jargon superflu.

Showing 34 of 34 terms
ATerms starting with A

Active Parameters vs. Total Parameters

Memory & Attention

Total parameters represent all weights stored on disk and loaded into memory; active parameters represent the subset actually executed during compute for a single token.

AWQ (Activation-Aware Weight Quantization)

Quantization & Formats

A 4-bit GPU quantization technique that preserves the top 1% of salient weights based on activation magnitudes, ensuring near-FP16 accuracy with high inference speed.

BTerms starting with B

Bits Per Weight (bpw)

Quantization & Formats

The effective average number of storage bits allocated to each parameter in a model after quantization and scaling factors are accounted for.

CTerms starting with C

Community License (Llama / Gemma)

Licensing & Openness

A custom open-weights license designed by large tech corporations that grants free access for research and small-to-medium businesses, but restricts mega-scale commercial use.

Context Window / Sequence Length

Memory & Attention

The maximum total number of tokens (prompt input plus generated output) that a model can comprehend and attend to in a single conversation session.

CUDA Out of Memory (CUDA OOM)

Hardware & Offloading

A fatal runtime exception thrown by NVIDIA CUDA when an allocation request for weights, KV cache, or activations exceeds available physical VRAM.

ETerms starting with E

EXL2 (ExLlamaV2 Quantization)

Quantization & Formats

An advanced mixed-precision quantization format designed specifically for NVIDIA GPUs by turboderp, offering continuous bitrates and industry-leading generation speed.

FTerms starting with F

FlashAttention (FlashAttention-2 / 3)

Inference Engines

An exact attention algorithm that reorganizes memory accesses to keep operations inside fast GPU SRAM (cache) rather than repeatedly reading from slower HBM/VRAM.

GTerms starting with G

Gated Model / Gated Repo

Licensing & Openness

A model repository on platforms like Hugging Face that requires users to accept legal terms or request explicit author permission before downloading weights.

GGUF (GPT-Generated Unified Format)

Quantization & Formats

A standardized, extensible single-file binary format developed by Georgi Gerganov and the llama.cpp community designed for fast local CPU/GPU inference and layer offloading.

GQA (Grouped-Query Attention)

Memory & Attention

An attention architecture where multiple query heads share a single key-value head, reducing KV cache VRAM by 4x to 8x while preserving reasoning capability.

KTerms starting with K

K-Quants (Q4_K_M, Q5_K_M, Q8_0)

Quantization & Formats

Advanced quantization schemes in llama.cpp that group weights into super-blocks and allocate higher precision to critical attention and feed-forward layers.

KV Cache (Key-Value Cache)

Memory & Attention

A dedicated block of GPU memory that stores previously computed attention key and value tensors for every token in a conversation, preventing redundant recomputations.

LTerms starting with L

Layer Offloading (n-gpu-layers)

Hardware & Offloading

Splitting a model across hardware by loading as many transformer layers as fit into GPU VRAM while leaving the remaining layers in system CPU RAM.

llama.cpp

Inference Engines

The foundational, highly optimized C/C++ inference engine created by Georgi Gerganov that powers the vast majority of local LLM tools across CPU, CUDA, Metal, and ROCm.

MTerms starting with M

Memory Bandwidth (GB/s)

Hardware & Offloading

The rate at which a processor can read data from and write data to its memory, measured in gigabytes per second; this directly dictates LLM generation speed.

MHA (Multi-Head Attention)

Memory & Attention

The classic attention architecture where every single query head possesses its own dedicated key and value head, creating the largest and most VRAM-hungry KV cache.

Mixture of Experts (MoE)

Memory & Attention

A neural network architecture where multiple specialized sub-networks ('experts') exist, but only a small subset is activated for each individual token.

MLA (Multi-Head Latent Attention)

Memory & Attention

DeepSeek's pioneering attention mechanism that compresses key-value vectors into a low-rank latent vector before caching, slashing KV cache memory by over 90%.

MLX (Apple Silicon Framework)

Inference Engines

Apple's native machine learning framework designed specifically for Apple Silicon M-series unified architecture, delivering maximum speed and efficiency on macOS.

OTerms starting with O

Ollama

Inference Engines

A user-friendly, CLI-driven application and daemon that packages llama.cpp into a Docker-like model management system with a clean REST API.

Open Source AI (OSI Standard)

Licensing & Openness

An AI system meeting the Open Source Initiative (OSI) OSAID 1.0 standard, requiring open model weights, full training code, and comprehensive training data information.

Open Weights

Licensing & Openness

A release model where a creator publishes the neural network weights for download and self-hosting, but keeps the underlying dataset, preprocessing scripts, or training pipeline private.

PTerms starting with P

PagedAttention

Inference Engines

An attention algorithm that stores KV cache tensors in non-contiguous physical memory blocks (pages), eliminating memory fragmentation and enabling near-zero memory waste.

Permissive AI License (Apache 2.0 / MIT)

Licensing & Openness

Software and weight licenses (like Apache 2.0 or MIT) that grant full commercial rights, modifications, and redistribution with minimal restrictions.

Perplexity (PPL)

Quantization & Formats

A mathematical metric that measures how well a language model predicts a sample test dataset; lower perplexity indicates higher accuracy and better reasoning.

QTerms starting with Q

Quantization

Quantization & Formats

The process of reducing the numerical precision of a model's weights and activations (e.g., from 16-bit float down to 8-bit, 4-bit, or 2-bit) to drastically reduce memory usage and speed up computation.

STerms starting with S

Safetensors

Quantization & Formats

A fast, secure, memory-mappable file format created by Hugging Face for storing deep learning tensors without the arbitrary code execution risks of Python pickles.

Sliding Window Attention (SWA)

Memory & Attention

An attention strategy where tokens only attend to a fixed window of preceding tokens (e.g., the last 4,096 tokens), placing a hard ceiling on KV cache memory growth.

Synthetic Data & Distillation Restrictions

Licensing & Openness

Clauses in AI terms of service that prohibit using the model's outputs to train, fine-tune, or evaluate other competing artificial intelligence models.

TTerms starting with T

Tensor Parallelism (TP) vs. Pipeline Parallelism (PP)

Hardware & Offloading

Methods for distributing a large model across multiple GPUs; Tensor Parallelism splits individual weight matrices, while Pipeline Parallelism places different layers on different cards.

UTerms starting with U

Unified Memory (Apple Silicon)

Hardware & Offloading

A shared memory architecture used in Apple M-series chips where CPU, GPU, and Neural Engine access the same high-bandwidth pool of physical memory without bus copies.

VTerms starting with V

vLLM

Inference Engines

A high-throughput, enterprise-grade LLM serving engine developed at UC Berkeley, renowned for PagedAttention, continuous batching, and chunked prefill.

VRAM (Video Random-Access Memory)

Hardware & Offloading

Dedicated ultra-high-bandwidth memory physically located on a discrete graphics card (GPU) used for storing model weights, KV cache, and intermediate activations.

Knowledge & Deep Dives

Centre de Connaissances VRAM & LLM Locaux

Guides approfondis, analyses architecturales et manuels de dimensionnement matériel pour déployer et exécuter vos modèles d'IA en local sans mauvaise surprise.

Outil Interactif6 min de lecture
Comprenez pourquoi la longueur de contexte sature la VRAM, la formule mathématique exacte et comment économiser de 50% à 75% de mémoire.
Calculateur interactif de mémoire de contexte
Architectures MHA vs GQA vs DeepSeek MLA
Gains de la quantification du cache en FP8 et INT4
Consommation mémoire en dialogue multi-tours
Consulter le Guide
Décodeur de Configuration7 min de lecture
Examinez les dépôts Hugging Face comme un ingénieur ML: déchiffrez config.json, identifiez les vraies limites de contexte et évitez le piège des paramètres MoE.
Inspecteur interactif des paramètres config.json
Nomenclature des quantifications GGUF expliquée
Règles de mémoire des paramètres actifs vs totaux MoE
Fenêtres de contexte et mise à l'échelle RoPE
Consulter le Guide
Matrice des Licences5 min de lecture
Les distinctions juridiques et pratiques entre le véritable Open Source OSI et les modèles à poids ouverts comme Llama 3, DeepSeek, Qwen 2.5 et Gemma 2.
Matrice comparative interactive des licences
Seuils d'utilisateurs et de chiffre d'affaires
Restrictions sur la distillation de données synthétiques
Grille de conformité juridique pour entreprises
Consulter le Guide
Guide Matériel8 min de lecture
Découvrez pourquoi la bande passante mémoire surpasse la puissance brute, comment choisir entre Apple Silicon et Nvidia, et la VRAM requise de 8B à 70B.
Paliers de VRAM (de 8 Go à 128 Go+)
Formule bande passante mémoire vs calcul
Comparatif Apple Silicon Mac vs PC Nvidia
Configuration station de travail Dual-GPU pour 70B
Consulter le Guide