Pure D tensor library and GGUF inference engine. Used by vibe-search-core.
Explore the docs
Report Bug
Install: dub add densor
Densor is a pure D port of the concepts found in GGML and Candle (Rust). It provides a tensor library and inference engine capable of running quantized GGUF models on CPU (and potentially GPU via Compute Shaders later).
-
Pure D: No C bindings. Complete reimplementation of tensor operations.
-
GGUF Support: Native parser for the GGUF file format.
-
Performance: Use
mir-algorithmand SIMD intrinsics for fast matrix multiplication.
-
❏ Tensor structure definition.
-
❏ GGUF Loader.
-
❏ Matrix Multiplication (Dot Product) implementation.
-
❏ Activation functions (GeLU, SiLU).
-
❏ CLIP Model architecture implementation.
-
Tensor: N-dimensional array wrapper around
Mirslices. -
Graph: Simple define-by-run or static graph execution.
-
Backend: CPU (SIMD) initially.
dub add densor
MIT