Analysis updated 2026-05-18
Run nearest-neighbor search across a million vectors in milliseconds.
Store and query AI embeddings without setting up a separate database server.
Cluster similar vectors together using the built-in DBSCAN algorithm.
Fall back to the CPU-only version on machines without a supported GPU.
| psychip/vec | daviddrysdale/pkcs11test | deftruth/mnn | |
|---|---|---|---|
| Stars | 0 | — | — |
| Language | C++ | C++ | C++ |
| Last pushed | — | 2023-01-18 | 2023-04-29 |
| Maintenance | — | Dormant | Dormant |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 4/5 | 4/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an NVIDIA RTX 2000 series or newer GPU, AMD/Intel unsupported.
VEC is a vector database, a database designed for storing and searching AI-generated numerical representations called embeddings, that runs entirely on your GPU's video memory (VRAM). By keeping all data in VRAM rather than on disk, it achieves very fast similarity searches: finding the nearest matching vectors in a set of one million takes around 14 milliseconds on an RTX 3060. You launch it with a single executable, give it a name and a dimension count, and it starts listening on a network port. No separate database server, no configuration files. A CPU-only version called vec-cpu is also included for systems without a compatible GPU. Supported GPUs are NVIDIA RTX 2000 series and newer, AMD and Intel GPUs are not supported. Each stored record holds a vector, an optional label, and an optional data payload of up to 100 kilobytes. The database supports 16 commands including storing vectors, nearest-neighbor search by either L2 (Euclidean distance) or cosine similarity, exact-match lookup, clustering via a DBSCAN algorithm, and farthest-point sampling. All communication uses a binary protocol over TCP, named pipe, or Unix socket, there is no text interface. Client libraries are provided for C++, Python, Node.js, and Delphi. Every query is a brute-force scan of all stored vectors, which guarantees exact results with no approximation. Duplicate vectors are rejected at write time using a hash comparison. Data lives entirely in memory, disk is only used on startup and when you explicitly save. The fp16 storage option halves VRAM usage at the cost of some precision, effectively doubling capacity.
VEC is a vector database that runs entirely in GPU memory for very fast similarity search on embeddings.
Mainly C++. The stack also includes C++, CUDA, Python.
The README does not state a license.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.