Skip to content

tinker_cookbook.exceptions

Class Description
TinkerCookbookError Base exception for all tinker-cookbook errors.
ConfigurationError A configuration parameter is invalid or missing.
DataError An error related to training or evaluation data.
DataFormatError Data is not in the expected format.
DataValidationError Data fails a semantic validation check.
RendererError An error related to renderer configuration or rendering.
TrainingError An error during a training loop.
CheckpointError An error related to saving, loading, or resuming checkpoints.
AllTrajectoriesFailedError All trajectories in a rollout group failed.
WeightsError An error related to weight download, merge, or export.
WeightsDownloadError Failed to download weights from Tinker storage.
WeightsMergeError Failed to merge LoRA adapter weights into a base model.
WeightsAdapterError Failed to convert a Tinker LoRA adapter to PEFT format.
SandboxError An error related to code-execution sandboxes.
EvalError An error during benchmark evaluation.
EvalTimeoutError A single evaluation example exceeded its time limit.
EvalGradingError The grading function failed on a model response.
BenchmarkNotFoundError The requested benchmark is not in the registry.