Skip to main content

Sovereign Pulse physics gate — vLLM LogitsProcessor plugin

Project description

Sovereign Pulse — vLLM Plugin

Physics-grounded token gate for vLLM. Blocks uncertain tokens before sampling using 75 physics laws in 46 ns/token.

Install

pip install sovereign-pulse-vllm

Usage — 2 lines

from sovereign_pulse_vllm import SovereignPulseLogitsProcessor
from vllm import LLM, SamplingParams

gate   = SovereignPulseLogitsProcessor(mass_budget=500.0, verbose=True)
params = SamplingParams(logits_processors=[gate], temperature=0, max_tokens=200)
llm    = LLM(model="meta-llama/Meta-Llama-3-8B-Instruct")

output = llm.generate("The capital of France is", params)
print(output[0].outputs[0].text)
print(gate.stats)
# {'passed': 142, 'blocked': 58, 'total': 200, 'block_rate': 0.29}

Parameters

Parameter Default Description
mass_budget 500.0 Session energy budget (higher = less blocking)
confidence_floor 0.02 Minimum truth_index to pass
verbose False Print per-token gate decisions

What it blocks

A token is blocked when any physics law fails:

  • truth_index = (p1−p2)/p1 below floor — model is coin-flipping
  • Hamiltonian H > 1.0 — compute cost exceeds information value
  • Rényi entropy tail — heavy-tail uncertainty Shannon misses
  • Landauer bound — physically impossible token cost
  • Poincaré recurrence — model repeating a previous state

Commercial licensing

MIT license for research and personal use. Commercial deployment license: poseidoelunico@gmail.com

Project details


Download files

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

Source Distribution

sovereign_pulse_vllm-0.1.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

sovereign_pulse_vllm-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file sovereign_pulse_vllm-0.1.1.tar.gz.

File metadata

  • Download URL: sovereign_pulse_vllm-0.1.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for sovereign_pulse_vllm-0.1.1.tar.gz
Algorithm Hash digest
SHA256 50a8b6a3a82d4161c6e7c6b95717b9fee3f71047f200eb4ceab983fec6290c2f
MD5 89faab0ada2780a50bf19b372527ca14
BLAKE2b-256 dda5d3ec9a4225fb70a25d50917468934e3b84bfa8bf24ce6887bd2ca012a2df

See more details on using hashes here.

File details

Details for the file sovereign_pulse_vllm-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sovereign_pulse_vllm-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 929903eb365b5814aa8af0704608795d001f69ec12b3881b43dcbf7e07fed1ee
MD5 9b6fd57fe8d0763261f82b2114362519
BLAKE2b-256 e7e6771129aff197b5fa502125a904a00eec783add8da7d9ae05b16db3350855

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page