Skip to content
dlang-supplementalPublic

About

Pure D tensor library and GGUF inference engine. Used by vibe-search-core.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Contributors Forks Stars Issues

Densor

Pure D tensor library and GGUF inference engine. Used by vibe-search-core.
Explore the docs

Report Bug

Install: dub add densor

About The Project

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).

Goals

  1. Pure D: No C bindings. Complete reimplementation of tensor operations.

  2. GGUF Support: Native parser for the GGUF file format.

  3. Performance: Use mir-algorithm and SIMD intrinsics for fast matrix multiplication.

Status

  • ❏ Tensor structure definition.

  • ❏ GGUF Loader.

  • ❏ Matrix Multiplication (Dot Product) implementation.

  • ❏ Activation functions (GeLU, SiLU).

  • ❏ CLIP Model architecture implementation.

Architecture

  • Tensor: N-dimensional array wrapper around Mir slices.

  • Graph: Simple define-by-run or static graph execution.

  • Backend: CPU (SIMD) initially.

(back to top)

Usage

dub add densor

(back to top)

License

MIT

(back to top)

About

Pure D tensor library and GGUF inference engine. Used by vibe-search-core.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages