milvus-logo

CPU-only Milvus

Overview

Milvus is available in CPU-only and GPU-enabled distributions:

  • The CPU-only Milvus distribution relies on CPU exclusively to search and build indexes.
  • The GPU-enabled Milvus distribution supports GPU acceleration for search and index building. For example, CPU can be used for search while GPU is used for index building, improving query efficiency.

For GPUs that support CUDA, the GPU-enabled Milvus distribution can be used to achieve much better search performance when working with large-scale datasets.

Indexes for CPU-only Milvus

Milvus maps different embedding types with different index types. Click the tab below to view the index types supporting your embedding type.

Index type Indexing with CPU Indexing with GPU Search with CPU Search with GPU
FLAT N/A N/A ✔️
IVF_FLAT ✔️ ✔️
IVF_SQ8 ✔️ ✔️
IVF_PQ ✔️ ✔️
RNSG ✔️ ✔️
HNSW ✔️ ✔️
Annoy ✔️ ✔️
Index type Indexing with CPU Indexing with GPU Search with CPU Search with GPU
FLAT N/A N/A ✔️
IVF_FLAT ✔️ ✔️
On this page