whatisgithub

What is siglip-onnx-server?

hebbian-robotics/siglip-onnx-server — explained in plain English

Analysis updated 2026-05-18

4RustAudience · developerComplexity · 4/5Setup · hard

In one sentence

A CPU-only Rust server that turns text search queries into SigLIP embeddings, so live searches do not need GPU capacity while image indexing still does.

Mindmap

mindmap
  root((siglip-onnx-server))
    What it does
      Text to embedding
      CPU only serving
      OpenAI compatible API
      Health check endpoint
    Tech stack
      Rust
      ONNX Runtime
      Docker
      SigLIP model
    Use cases
      Live search queries
      GPU CPU split workload
      Existing OpenAI clients
    Audience
      Backend developers
      ML infra teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Serve live text-to-vector search queries on CPU while image indexing continues to run on GPU.

USE CASE 2

Plug into existing OpenAI-embeddings-compatible clients without writing a custom SigLIP wrapper.

USE CASE 3

Run as a lightweight, pinned production query service alongside a separate GPU-based image indexing pipeline.

What is it built with?

RustONNX RuntimeDockerSigLIP

How does it compare?

hebbian-robotics/siglip-onnx-server6elphegor/warpadoslabsproject-gif/liara-toolkit
Stars444
LanguageRustRustRust
Setup difficultyhardeasyhard
Complexity4/55/54/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires a matching ONNX model export, tokenizer, and ONNX Runtime 1.24 shared library at startup.

The README does not state a license for this repository.

So what is it?

SigLIP ONNX Server is a small, CPU-only text embedding service built in Rust. It is designed for a specific job: turning search queries into vector embeddings quickly, without needing a GPU. SigLIP 2 is a model that places images and text into the same mathematical space, which lets you compare a text query against a library of image vectors to find matches. The idea behind this project is a split workflow. Building an image search index is heavy work, so that part still runs on GPUs, converting large batches of images or video into vectors ahead of time. But once that index exists, answering a live text search only requires converting one short query into a vector, which is a much lighter task. This server handles just that lighter, live-query side, so a team does not need to reserve expensive GPU capacity just to answer everyday search requests. It exposes an API endpoint compatible with OpenAI's embeddings format, so existing tools and clients built for OpenAI's API can point at this server instead, using their normal integration code with no special wrapper needed. Only two endpoints exist: a health check and the embeddings endpoint itself, keeping the service intentionally minimal. Under the hood, it uses ONNX Runtime to run an exported version of the SigLIP text model efficiently on ordinary CPU hardware, with Rust handling the surrounding server logic like tokenizing text and validating requests. The server requires specific local model files at startup, checks that they match an expected contract, and runs a test inference before it starts accepting real traffic, to catch configuration mistakes early. It can be run directly with Rust's build tools or as a Docker container, and a ready-made container image is published for quick use. This project is best suited for teams already running SigLIP-based image search who need a lightweight, dependable way to serve the text half of that search on CPU.

Copy-paste prompts

Prompt 1
Show me how to deploy siglip-onnx-server with Docker and point my OpenAI Python client at it for text embeddings.
Prompt 2
Explain the manifest.json contract this server needs and how to prepare the ONNX model files for it.
Prompt 3
How would I split a SigLIP image search system so GPU handles indexing and this server handles live text queries on CPU?
Prompt 4
Write the .env configuration needed to run siglip-onnx-server with my own model and tokenizer paths.

Frequently asked questions

What is siglip-onnx-server?

A CPU-only Rust server that turns text search queries into SigLIP embeddings, so live searches do not need GPU capacity while image indexing still does.

What language is siglip-onnx-server written in?

Mainly Rust. The stack also includes Rust, ONNX Runtime, Docker.

What license does siglip-onnx-server use?

The README does not state a license for this repository.

How hard is siglip-onnx-server to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is siglip-onnx-server for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.