vibespatial.runtime.precision

Attributes

Classes

PrecisionMode

Enum where members are also (and must be) strings

KernelClass

Enum where members are also (and must be) strings

CompensationMode

Enum where members are also (and must be) strings

RefinementMode

Enum where members are also (and must be) strings

DevicePrecisionProfile

CoordinateStats

PrecisionPlan

Functions

normalize_precision_mode(→ PrecisionMode)

select_precision_plan(→ PrecisionPlan)

Module Contents

class vibespatial.runtime.precision.PrecisionMode

Enum where members are also (and must be) strings

AUTO = 'auto'
FP32 = 'fp32'
FP64 = 'fp64'
class vibespatial.runtime.precision.KernelClass

Enum where members are also (and must be) strings

COARSE = 'coarse'
METRIC = 'metric'
PREDICATE = 'predicate'
CONSTRUCTIVE = 'constructive'
class vibespatial.runtime.precision.CompensationMode

Enum where members are also (and must be) strings

NONE = 'none'
CENTERED = 'centered'
KAHAN = 'kahan'
DOUBLE_SINGLE = 'double-single'
class vibespatial.runtime.precision.RefinementMode

Enum where members are also (and must be) strings

NONE = 'none'
SELECTIVE_FP64 = 'selective-fp64'
EXACT = 'exact'
class vibespatial.runtime.precision.DevicePrecisionProfile
name: str
fp64_to_fp32_ratio: float
property favors_native_fp64: bool
class vibespatial.runtime.precision.CoordinateStats
max_abs_coord: float = 0.0
span: float = 0.0
property needs_centering: bool
class vibespatial.runtime.precision.PrecisionPlan
storage_precision: PrecisionMode
compute_precision: PrecisionMode
kernel_class: KernelClass
compensation: CompensationMode
refinement: RefinementMode
center_coordinates: bool
reason: str
vibespatial.runtime.precision.DEFAULT_CONSUMER_PROFILE
vibespatial.runtime.precision.DEFAULT_DATACENTER_PROFILE
vibespatial.runtime.precision.normalize_precision_mode(value: PrecisionMode | str) PrecisionMode
vibespatial.runtime.precision.select_precision_plan(*, runtime_selection: vibespatial.runtime._runtime.RuntimeSelection, kernel_class: KernelClass, requested: PrecisionMode | str = PrecisionMode.AUTO, coordinate_stats: CoordinateStats | None = None, device_profile: DevicePrecisionProfile | None = None) PrecisionPlan