# Glossary (vLLM CPU Base (AVX2))

> The terms used in the docs of the vllm-cpu-base-avx2 image.

Acronyms and terms used on this image's pages. See the [site-wide glossary](https://docs.sparecores.com/glossary.md) for all terms.

## A

### AMD64

The 64-bit version of the x86 instruction set architecture, introduced by AMD in 2003 and also implemented by Intel, which runs most cloud servers. Linux distributions and Docker name it `amd64` or `x86_64`. See [Wikipedia](https://en.wikipedia.org/wiki/X86-64).

### AMX

**Advanced Matrix Extensions**: A set of x86 instructions for matrix multiplication, introduced by Intel in its server CPUs in 2023. It adds two-dimensional registers, called tiles, and instructions that multiply them in 8-bit integer or bfloat16 precision, which speeds up deep learning inference on the CPU. Linux lists it as the `amx_tile`, `amx_int8`, and `amx_bf16` flags in `/proc/cpuinfo`. See [Wikipedia](https://en.wikipedia.org/wiki/Advanced_Matrix_Extensions).

### AVX-512

**Advanced Vector Extensions 512**: A set of x86 SIMD instructions that operate on 512-bit registers, so that one instruction processes, for example, 16 single-precision floating-point numbers at once. Intel introduced it in its server CPUs with the Skylake generation, and AMD supports it from the Zen 4 generation. It is made of several subsets, such as the foundation, `avx512f`, and `avx512_bf16` for bfloat16 arithmetic, which Linux lists as flags in `/proc/cpuinfo`. See [Wikipedia](https://en.wikipedia.org/wiki/AVX-512).

### AVX2

**Advanced Vector Extensions 2**: A set of x86 SIMD instructions that operate on 256-bit registers, introduced by Intel with the Haswell generation in 2013 and supported by AMD since 2015. It extends most integer vector instructions of the earlier AVX set to 256 bits. Nearly all current x86 CPUs support it, and AVX-512 is its wider successor. See [Wikipedia](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2).

### AWS

**Amazon Web Services**: The cloud computing platform of Amazon, launched in 2006 and the largest public cloud by market share. It offers hundreds of services, from virtual machines (EC2) and object storage (S3) to managed databases and machine learning. See [AWS](https://aws.amazon.com/).

## B

### BuildKit

The build engine of Docker, which builds container images from a Dockerfile. It runs independent build stages in parallel, caches each layer under a key computed from its instruction and inputs, and can export this cache to a registry and import it in a later build. It can also pass secrets to a build step as files that are not stored in the image or its cache. See [Docker docs](https://docs.docker.com/build/buildkit/).

## C

### CI

**Continuous Integration**: The practice of building and testing code automatically on every change, usually on a hosted service such as GitHub Actions, so problems show up before the change is merged. See [Wikipedia](https://en.wikipedia.org/wiki/Continuous_integration).

### container entrypoint

The executable that a container image runs when a container starts, set by the `ENTRYPOINT` instruction of its Dockerfile. The image's default command (`CMD`), or the arguments given after the image name in `docker run`, are passed to it as arguments, so an entrypoint can wrap any command, for example to set up the environment or record resource usage first. The `docker run --entrypoint` option replaces it. See [Dockerfile reference](https://docs.docker.com/reference/dockerfile/#entrypoint).

### CPU

**Central Processing Unit**: The general-purpose processor of a computer, which runs the operating system and programs. A CPU has one or more physical cores, and with SMT each core runs two or more hardware threads. See [Wikipedia](https://en.wikipedia.org/wiki/Central_processing_unit).

## D

### Docker Hub

Docker's public registry of container images, where projects publish their images under a name and tag, such as `ubuntu:24.04`. Docker pulls images from it by default when a name gives no other registry. See [Docker docs](https://docs.docker.com/docker-hub/).

## H

### harness

The code that runs a benchmark tool. It prepares the inputs, starts the tool with fixed settings, often several times or in parallel, checks and collects the tool's output, and prints the results in one format. Its settings, not the tool's defaults, decide what the benchmark measures. See [Wikipedia](https://en.wikipedia.org/wiki/Test_harness).

### Hugging Face

A company and online platform that hosts machine learning models, datasets, and demo apps in Git-based repositories, together known as the Hugging Face Hub. Programs download a model's files over HTTPS, optionally pinned to a specific commit, and gated models need an access token. Its Python libraries, such as Transformers, load and run the models. See [Hugging Face Hub docs](https://huggingface.co/docs/hub).

## I

### ID

**identifier**: A name or number that refers to exactly one item, such as a server type, a benchmark run, or a database row.

## L

### layer cache

The layers of earlier container image builds that BuildKit stores and reuses. Each Dockerfile instruction adds one layer to the image, stored under a key computed from the instruction and its inputs; when a later build reaches an instruction with the same key, it reuses the stored layer instead of running the step again. A build with `--no-cache` ignores the cache and runs every step. See [Docker docs](https://docs.docker.com/build/cache/).

### LLM

**Large Language Model**: A neural network, typically with billions of parameters, trained on large amounts of text to predict the next token. It can generate, summarize and translate text, answer questions and write code. See [Wikipedia](https://en.wikipedia.org/wiki/Large_language_model).

## R

### RAM

**Random-Access Memory**: The main memory of a computer, which holds the running programs and their data. It is much faster than disk storage, and its content is lost when the power is off. See [Wikipedia](https://en.wikipedia.org/wiki/Random-access_memory).

### `resource-tracker`

An open-source Spare Cores tool that runs a command and samples resource usage while it runs, such as CPU, memory, disk, network, GPU, and GPU memory use. It can optionally stream the samples to the Spare Cores Sentinel platform, so that a run can be checked to see its aggregated and detailed resource utilization, e.g., whether it used all CPU or GPU cores as intended while running a Navigator benchmark workload. See [resource-tracker on GitHub](https://github.com/SpareCores/resource-tracker-rs).

### Rust

An open-source programming language that compiles to native code, for fast and reliable software. It checks memory safety when a program is compiled, so its programs need no extra checks for it while they run. See [Rust website](https://www.rust-lang.org/).

## S

### S3

**Simple Storage Service**: The object storage service of AWS, which stores files as objects in buckets and serves them over HTTP. Its API has become a de facto standard that many other storage services and tools support. See [Amazon S3](https://aws.amazon.com/s3/).

### `sccache`

A compiler cache that wraps C, C++, and Rust compilers and reuses the output of an earlier compilation when the same source is compiled again with the same options. It keeps its cache on a local disk or in remote storage, such as an S3 bucket, so that several build machines can share it. See [GitHub](https://github.com/mozilla/sccache).

### stderr

The standard error stream of a process, one of the three standard streams with stdin and stdout. Programs write logs, progress, and error messages to it, so that they stay separate from the output on stdout when the output is redirected to a file or another program. See [Wikipedia](https://en.wikipedia.org/wiki/Standard_streams).

## U

### URL

**Uniform Resource Locator**: The address of a resource on the web or a network, such as https://sparecores.com/, made of a scheme, a host, and a path.

## V

### vLLM

**virtual Large Language Model**: An open-source inference and serving engine for LLMs, started at UC Berkeley in 2023. Its PagedAttention technique manages the key-value cache in fixed-size blocks, as an OS pages virtual memory, and it batches concurrent requests continuously, so one server can answer many requests at once. It runs on GPUs and CPUs and serves models through an OpenAI-compatible HTTP API. See [vLLM docs](https://docs.vllm.ai/), [vLLM on GitHub](https://github.com/vllm-project/vllm), [Origin of the name](https://github.com/vllm-project/vllm/issues/835).

## Z

### `zram`

A Linux kernel module that creates compressed block devices in memory. It is most often used as swap, so swapped-out pages are compressed in RAM instead of written to disk, trading CPU time for memory. See [Linux kernel docs](https://docs.kernel.org/admin-guide/blockdev/zram.html).

### `zstd`

**Zstandard**: A lossless compression algorithm and format by Yann Collet at Facebook, released in 2016 and specified in RFC 8878. It combines LZ77 matching with fast entropy coding, and its levels, from 1 to 22, cover a wide range of trade-offs, from faster than gzip to ratios close to lzma. Decompression stays fast at every level. See [Zstandard on GitHub](https://github.com/facebook/zstd).
