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.0.tar.gz (5.4 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.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sovereign_pulse_vllm-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 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.0.tar.gz
Algorithm Hash digest
SHA256 27ecf13714adc4f90b8551c5d600413fa00ef61c5c2abe78578c89e56902c647
MD5 68c98e68419adc523e8f37ba2b9e37b9
BLAKE2b-256 a12825c4ccd306ed608a3df0ec2172ac8b1ed79e9dc0830ce62fdce8e6bc651a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sovereign_pulse_vllm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 304bfddd5d3d8ea5c2763e7090427c5a1d3811464a6bd7a89c3b0964b8111a54
MD5 ec09b63651f89825900aac6444a8bf0d
BLAKE2b-256 dea373bf8c7b5f9c2c92c7758ed5b4e09035d490330bcdddf5813169272fe1ab

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