Skip to content

llmcompressor.sentinel

Sentinel value implementation for LLM compression workflows.

Provides unique sentinel values following PEP 661 with Pydantic validation support. Used for creating distinct marker objects that can be safely compared by identity across the compression framework.

Classes:

Sentinel

Unique sentinel values. Implements https://peps.python.org/pep-0661/ with dummy pydantic validation