Language

Flexible deployment options

Choose the model that fits your team, security needs and budget

INNOVATOR
Innovator

License QUVI and implement it with your own team to reduce implementation costs

  • QUVI software license
  • Your team designs the semantic layer
  • Training and documentation
For companies with in-house IT and data teams looking to reduce costs
ON-DEMAND
On-demand

End-to-end implementation by DAQUV engineers on your private network

  • QUVI deployed on your private network
  • Integration with your databases and self-hosted LLM
  • Full semantic layer implementation
For enterprises, financial institutions and public agencies with strict network security
PARTNER
Partner

Add AI analytics to your own product

  • Text-to-SQL engine API
  • Works with ERP, MES, portals and more
  • Keeps your own UI and branding
For software companies adding data analytics to their products

Installing quvllm-plugin on a vLLM server

For the person who runs the GPU server. quvi (the application) needs nothing from you beyond this; it finds the plugin by asking the model server (step 3).

1InstallOne wheel filepip install --no-index --no-deps quvllm_plugin-<version>-py3-none-any.whl
2Add one flagTo the vLLM arguments--logits_processors <class>
3CheckOne curlquvllm/1 plugin=<version> hidden=yes

No dependencies · Installs offline · Nothing to change in quvi · To undo, remove the flag and restart

1. Install the wheel

The wheel is one file, quvllm_plugin-<version>-py3-none-any.whl, with a SHA256SUMS beside it. It needs no network.

sha256sum -c SHA256SUMS
pip install --no-index --no-deps quvllm_plugin-<version>-py3-none-any.whl     # into the Python vLLM runs in

In a container, add it to the vLLM image you already run, so it survives a restart:

FROM vllm/vllm-openai:<the tag you run>
COPY quvllm_plugin-<version>-py3-none-any.whl /tmp/
RUN pip install --no-index --no-deps /tmp/quvllm_plugin-<version>-py3-none-any.whl && rm /tmp/*.whl

2. Add the flag

Add --logits_processors <class> to the arguments you already pass. The class depends on the model runner.

vLLM · model runner--logits_processorsWhat works
0.12.0 – 0.30.x, or 0.31.0 – 0.33.x on the V1 runnerquvllm.processor:ValuePenaltyLogitsProcessorDecoding Rule · Decision Head
0.31.0 – 0.33.x on the V2 runner (the default), 0.34.0 and laterquvllm.processor_v2:ValuePenaltyLogitsProcessorV2Decoding Rule

Speculative decoding must be off: vLLM refuses custom logits processors with it.

3. Check

curl -s http://<vllm>/v1/completions -H 'Content-Type: application/json' -d '{
  "model": "<served model name>", "prompt": "ping", "max_tokens": 32, "temperature": 0,
  "vllm_xargs": {"quvi_value_penalty": "{\"probe\": true}"}}'

choices[0].text must be quvllm/1 plugin=<version> hidden=<value>:

hidden=Meaning
yesDecoding Rule and Decision Head both work
nodirDecoding Rule works; mount the directory below for Decision Head
v2Decoding Rule works; Decision Head needs the V1 model runner (the table in step 2)

Any other text means the plugin is not in the request path (check the flag, or a gateway that drops vllm_xargs).

For Decision Head (optional)

Decision Head reads the model's hidden state at chosen positions of a request, and scores it with a small head quvi sends. To train that head, it writes hidden states as files into /var/lib/quvllm/capture, only when that directory exists. quvi reads each file back once through GET /quvllm/capture/{id}, and the read deletes it.

  • Add one more flag: --middleware quvllm.capture_route.CaptureRoute
  • Mount a directory at /var/lib/quvllm/capture.
  • On vLLM 0.31–0.33, set VLLM_USE_V2_MODEL_RUNNER=0.

docker compose:

services:
  vllm:
    environment:
      VLLM_USE_V2_MODEL_RUNNER: "0"        # vLLM 0.31–0.33 only
    volumes:
      - /var/lib/quvllm/capture:/var/lib/quvllm/capture

A capture is from about ten KB to about ten MB and is deleted when quvi reads it; a capture quvi never reads stays until you remove it.

With several vLLM servers behind one gateway, route GET /quvllm/capture/{id} to the server that answered the request it belongs to.

Check: curl -s http://<vllm>/quvllm/capture/%21 must answer {"error": "bad capture id"}. vLLM's own 404 means --middleware is missing.

Undo

Remove the flags (and the mount) and restart vLLM. quvi notices on its next check and goes back to generation for everything; nothing in quvi stops or needs changing.

Get in Touch

See how QUVI works with your data

02-889-8425

business@daquv.com

Privacy consent (Required)
Marketing Consent (Optional)