How opensetlabs/openset-llm works
openset-llm is a CPU-only LLM inference product: users install the engine and model, submit prompts through its chat page or OpenAI-compatible API, and receive generated text. The documented runtime includes single- and multi-request serving, CPU-specific kernels, and low-bit KV-cache options. The sampled kernel headers show parts of the quantization and memory-optimization layer; the engine’s server and dispatch implementation is not present in the supplied excerpts, so those relationships are limited to README evidence.
Main entry points: kernels Inference engine · serve OpenAI-compatible API · install.sh Model download · get.sh One-command installer
Components 16
Installation
- Installer
install.sh - One-command installer
get.sh - Model download
install.sh
Inference serving
- Chat page
serve - OpenAI-compatible API
serve - Multi-request serving
serve
CPU inference
- Inference engine
kernels - PTQ1 quantization
kernels/ptq1-common.h - PTQ1 panel layout
kernels/ptq1-common.h - Weight page release
kernels/ptq1-drop.h - Low-bit KV cache
kernels/kvq.h - AVX CPU kernels
kernels
Model support
- Model weights
- MTP head graft
scripts/graft_mtp.py
Other components
- User
- API client
Connections 19
- User → One-command installer: installs with
README.md - User → Installer: runs
README.md - One-command installer → Model download: downloads model
README.md - Installer → Model download: downloads model
README.md - User → Chat page: prompts
README.md - Chat page → Inference engine: serves inference
README.md - API client → OpenAI-compatible API: sends requests
README.md - OpenAI-compatible API → Inference engine: runs inference
README.md - Inference engine → User: returns text
README.md - Inference engine → API client: returns text
README.md - Model download → Model weights: downloads
README.md - Inference engine → Model weights: loads model
README.md - OpenAI-compatible API → Multi-request serving: supports mode
README.md - Inference engine → AVX CPU kernels: uses CPU kernels
README.md - Inference engine → PTQ1 quantization: uses quantization
- PTQ1 quantization → PTQ1 panel layout: repackages weights
kernels/ptq1-common.h - Inference engine → Weight page release: releases source pages
- Inference engine → Low-bit KV cache: quantizes cache
- Model weights → MTP head graft: provides base tensors
scripts/graft_mtp.py