A text embeddings inference server built with Zig, leveraging the power of Zig, ZML, and Zap for blazing fast HTTP serving capabilities.
The project uses bazel
as its build system, primarily because ZML is built with Bazel. This ensures compatibility and reproducible builds.
MacOS installation :
brew install bazelisk
bazel run //server
.
├── MODULE.bazel # Bazel module definition with dependencies (ZML, Zap, rules_zig)
├── server
│ ├── BUILD.bazel # Server build configuration using zig_binary rule
│ └── main.zig # Server implementation with Zap HTTP server
└── third_party
└── modules # Contains patches for Zig modules (e.g. Zap, ZML)