Skip to main content

Module safety

Module safety 

Source
Expand description

Panic safety and graceful degradation

Provides panic hooks and catch_unwind wrappers for training operations to prevent data corruption on panic.

Batuta: SF-08 (Panic Safety)

Functionsยง

catch_training_panic
Run a training operation with panic safety, returning None on panic.
install_panic_hook
Install a panic hook that logs structured panic information and ensures checkpoint state is not corrupted.