# tinker_cookbook.exceptions.WeightsMergeError ## *class* [**tinker_cookbook.exceptions.WeightsMergeError**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/exceptions.py#L182)(*[WeightsError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/exceptions/weightserror/index.md), ValueError*) Failed to merge LoRA adapter weights into a base model. Raised when adapter weights are incompatible with the base model (shape mismatches, missing keys, etc.). Inherits from `ValueError` because merge errors are validation failures (wrong shapes, missing config keys).