vibespatial.runtime.fallbacks

Attributes

Exceptions

StrictNativeFallbackError

Unspecified run-time error.

Classes

Functions

strict_native_mode_enabled(→ bool)

record_fallback_event(→ FallbackEvent)

get_fallback_events(→ list[FallbackEvent])

clear_fallback_events(→ None)

Module Contents

vibespatial.runtime.fallbacks.STRICT_NATIVE_ENV_VAR = 'VIBESPATIAL_STRICT_NATIVE'
exception vibespatial.runtime.fallbacks.StrictNativeFallbackError

Unspecified run-time error.

class vibespatial.runtime.fallbacks.FallbackEvent
surface: str
requested: vibespatial.runtime._runtime.ExecutionMode
selected: vibespatial.runtime._runtime.ExecutionMode
reason: str
detail: str = ''
pipeline: str = ''
d2h_transfer: bool = False
to_dict() dict[str, Any]
vibespatial.runtime.fallbacks.strict_native_mode_enabled() bool
vibespatial.runtime.fallbacks.record_fallback_event(*, surface: str, reason: str, detail: str = '', requested: vibespatial.runtime._runtime.ExecutionMode | str = ExecutionMode.AUTO, selected: vibespatial.runtime._runtime.ExecutionMode | str = ExecutionMode.CPU, pipeline: str = '', d2h_transfer: bool = False) FallbackEvent
vibespatial.runtime.fallbacks.get_fallback_events(*, clear: bool = False) list[FallbackEvent]
vibespatial.runtime.fallbacks.clear_fallback_events() None