Self-hosted inference. Typed workflows. Evals.
Define your task. Build your pipeline. Measure and improve.
Open-weight models on your own hardware. A typed async inference API, declarative YAML workflows, and an eval surface that sharpens with use. Runs airgapped once set up -- no request ever reaches OpenAI, Anthropic, or any other external provider. Open source, free to run.
pip install bayis-marigold
git clone https://github.com/bayinfosys/marigold-examples
marigold deployment start marigold-examples/chat
Runs on hardware you control. No request leaves the machine, no third-party model provider sits in the path, nothing is retained outside the directory you point it at. For regulated sectors, that resolves the data question before procurement starts. Architecture detail →
01
A unified async API over self-hosted HuggingFace models: text, image, audio, cross-modal. One container image, one weight cache, per-model isolation.
02
Declarative YAML pipelines over the model registry, planned as the next layer on top of the inference API. Steps will declare typed inputs and outputs; the executor resolves the dependency graph and runs independent steps in parallel.
03
Run any model or pipeline against a labelled dataset, scored by the same handler registry. Build eval libraries from production runs and corrections. The spec sharpens with use.
Extract text, embed, classify, and gate restricted content before it reaches an index. Text and image embeddings in one pipeline enable cross-modal search.
Generate, score for safety, aesthetic quality, and prompt alignment. Regenerate automatically until thresholds are met or attempts run out.
Compare an observation image against a reference by structural embedding. On deviation, segment both, diff the masks, and describe the discrepancy in natural language.
Extract entities, classify, summarise, and convert to speech in multiple languages from one workflow submission. Output: a summary plus audio per language.
Classify large volumes of unlabelled rows against a small labelled set. Low-confidence predictions go to an instruct model for explanation. No retraining.
Embed and compare images from multiple locations in parallel. On change, describe it and assemble a report, delivered as text and audio on a schedule.
Workflow execution is built on runfox and json-logic-path, both open source on PyPI.
Open source. Clone it, run it on your own hardware.
Questions? ed@bayis.co.uk