Repository navigation
Releases
ZMQ Inference 0.5.2 — Browser setup for image questions
ZMQ Inference 0.5.2 — Browser setup for image questions
The README now walks through installing the VLM extra, downloading the matching SmolVLM files, and asking a question about an uploaded image. The example uses port 8081 so the download-free classifier can stay on port 8080.
ZMQ Inference 0.5.1 — Connect the dashboard to SmolVLM
ZMQ Inference 0.5.1 — Connect the dashboard to SmolVLM
The dashboard now detects the connected backend's tasks. The download-free classifier enables Classify. SmolVLM enables Ask image and Generate.
Start the dashboard and a local VLM together with zmq-inference web --vlm --model-path smolvlm.gguf --projector-path projector.gguf. The existing web --demo command still launches the download-free classifier.
ZMQ Inference 0.5.0 — Vision-language models and a local dashboard
ZMQ Inference 0.5.0 — Vision-language models and a local dashboard
The new CPU VLM backend serves SmolVLM-256M Instruct and a matching GGUF projector. Call generate(prompt, image=...) in either Python client or add --image to the CLI. The same VLM server also accepts text-only prompts.
The new browser dashboard sends real requests through the existing ZeroMQ transport. It displays classifier scores, generated answers, token usage, and recent processing times.
python -m pip install --upgrade "zmq-vision>=0.5.0"
zmq-inference web --demoOpen http://127.0.0.1:8080 to run a classifier demo with no weights. The project display name is now ZMQ Inference. Installation still uses zmq-vision, Python uses zmq_inference, and both CLI names remain available.
ZMQ Vision 0.4.0 — Local LLMs and faster ZeroMQ responses
ZMQ Vision 0.4.0 — Local LLMs and faster ZeroMQ responses
Serve a small language model on CPU with zmq-vision[llm] and local GGUF weights. Send a prompt through the new generate command or either Python client. The response includes generated text, token counts, and the reason generation ended.
The vision demo's single-client p95 fell from 56.5 ms to 3.3 ms on the same WSL2 machine after shortening the completion poll. With SmolLM2-135M Instruct, one client received about 98 output tokens per second using two CPU threads. See the benchmark results for the workloads, reproduction commands, and the four-client MobileNet tradeoff.
python -m pip install zmq-vision==0.4.0
zmq-vision demoThe wheel in the release assets can also be installed directly with python -m pip install zmq_vision-0.4.0-py3-none-any.whl.
The existing image requests, zmq_inference imports, and zmq-inference CLI alias continue to work. The base install needs no model runtime. The quick start covers the core demo, local generation, and image classification.
Local validation passed 110 tests, including pretrained PyTorch and TensorFlow MobileNet inference and real GGUF generation over TCP. Clean wheel installs passed the download-free demo and both LLM CLI client modes.
ZMQ Vision 0.3.0
ZMQ Vision 0.3.0
A standalone image inference library with a lightweight core, optional PyTorch and TensorFlow backends, and clients for synchronous and asyncio applications.
- New
zmq-visionCLI withdemo,doctor,serve,infer, and inference-freehealthcommands. - Installable
src/package, one dependency source, bundled labels, MIT license, wheel and source distributions. - Bounded model work, validated messages and images, explicit overload responses, startup failure propagation, and cleanup of sockets and workers.
- Correlated client responses, bounded retries, timeout recovery, and cancellation-safe async exchanges.
- Model-specific timm preprocessing and current TensorFlow/Keras model calls.
- Real TCP regression tests, optional real-model tests, and a reproducible download-free demo.
Read migration notes for changed defaults and archived script locations. Pushing a version tag runs release checks and creates a GitHub release; PyPI publication is a separate manual step.