Skip to content

vctrmn/zig-text-embeddings-inference

Repository files navigation

Zig Text Embeddings Inference

A text embeddings inference server built with Zig, leveraging the power of Zig, ZML, and Zap for blazing fast HTTP serving capabilities.

Getting Started

Prerequisites

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

Build and run the server

bazel run //server

Project structure

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published