Skip to main content

holoscript-holoserve

holoscript-holoserve is the public Python distribution for HoloServe, the native sovereign PyTorch serving runtime for HoloRunner checkpoints. It exposes OpenAI-compatible completion, chat, and SSE routes while retaining the machine-checkable serving identity:

{
  "backend": "pytorch-holo",
  "sovereign": true,
  "llama_cpp": false,
  "gguf": false
}

This is a v0-preview for external builders, local operators, and agent frameworks evaluating HoloRunner models. Its API can change during the 0.x line.

Install

python -m pip install holoscript-holoserve
holoserve --help

The distribution includes the resident HTTP server, checkpoint-compatible HoloRunner decoder, byte-BPE tokenizer, constrained grammar engine, epistemic router, and optional epistemic sidecar runtime. It does not ship a checkpoint, tokenizer data, CUDA runtime, credentials, or machine-specific service files.

Run

Callers bring their own checkpoint, tokenizer bins, and content-addressed custody receipt:

holoserve \
  --model-name holorunner-s0 \
  --ckpt /srv/holoserve/holorunner-s0/ckpt.pt \
  --bins /srv/holoserve/holorunner-s0/bins \
  --snapshot-dir /srv/holoserve/private-snapshots \
  --custody-receipt /srv/holoserve/holorunner-s0/custody-receipt.json \
  --expected-custody-sha256 sha256:REPLACE_WITH_PINNED_RECEIPT_DIGEST \
  --host 127.0.0.1 \
  --port 8099

Replace the digest placeholder with the independently computed receipt digest; the CLI fails closed on malformed or unbound custody. Use --model-manifest for a caller-owned multi-model manifest. HoloServe validates the pinned checkpoint and tokenizer artifacts before admitting a model, then exposes /health, /v1/models, /v1/completions, /v1/chat/completions, /props, and /slots.

curl http://127.0.0.1:8099/health

The health report and response holo metadata are the agent-operable receipt surface. A resolver must reject the endpoint unless the typed sovereignty fields and artifact registry agree.

Validation

From a source checkout:

python -m pytest packages/holoserve-py/tests
python scripts/check_holoserve_cold_consumer.py
node scripts/check-package-public-consumption.mjs \
  --py-package packages/holoserve-py

The cold-consumer gate builds a wheel, installs that wheel in a fresh virtual environment, proves imports resolve from installed package files rather than the source checkout, exercises tokenizer/model/grammar code, and verifies the CLI help path.

Support and rollback boundary

Supported in 0.1.x: HoloRunner S0-family checkpoints matching the packaged decoder architecture, byte-BPE tokenizer metadata, CPU/CUDA devices supported by the caller's PyTorch installation, blocking completions, chat flattening, and SSE streaming.

Known limitations: the package does not train models, provision GPUs, install drivers, download checkpoints, manage a system service, or grant artifact custody. Operators own those inputs and recovery. Multi-process batching and remote checkpoint acquisition are unsupported.

Rollback after a future upgrade by pinning the previous known-good 0.x wheel and restarting the operator-owned service:

python -m pip install --force-reinstall holoscript-holoserve==0.1.0

The package boundary is public and portable; founder-local storage, private workspace state, credentials, deployment adapters, and hardware policy remain outside the distribution.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

holoscript_holoserve-0.1.0.tar.gz (51.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

holoscript_holoserve-0.1.0-py3-none-any.whl (51.8 kB view details)

Uploaded Python 3

File details

Details for the file holoscript_holoserve-0.1.0.tar.gz.

File metadata

  • Download URL: holoscript_holoserve-0.1.0.tar.gz
  • Upload date:
  • Size: 51.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for holoscript_holoserve-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93a29e9f0cc0d88635077371e3b0860ed0c4ad60e4c6ef5dc34c7621334ecf7f
MD5 f85238778a1437ca71f5d89fae3458d2
BLAKE2b-256 c680475f2d7b5c02b3e6431117e8f7a6fc46a2f31b8405db341d7c1cd96b9e07

See more details on using hashes here.

File details

Details for the file holoscript_holoserve-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for holoscript_holoserve-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 062422e7e6b16645136a2619cffc871bf323ec30362af405f1f0182913926ef1
MD5 0036928f6d8d71623db98f406cdcfbcd
BLAKE2b-256 34ae3bcf9fc7fb0681d377b02cb1aaa0d0237b5555c199d356a12f0166a497f3

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page