# tinker_cookbook.exceptions.WeightsAdapterError *Generated from tinker-cookbook at commit [`4a3a282`](https://github.com/thinking-machines-lab/tinker-cookbook/tree/4a3a2829190b45999021e423bc90b7523108edf4). Source links point at that snapshot.* ## *class* [**tinker_cookbook.exceptions.WeightsAdapterError**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/4a3a2829190b45999021e423bc90b7523108edf4/tinker_cookbook/exceptions.py#L192)(*[WeightsError](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/exceptions/weightserror/index.md), ValueError*) Failed to convert a Tinker LoRA adapter to PEFT format. Raised when the adapter cannot be converted for serving — e.g. the model family is not supported for adapter serving, adapter key names cannot be remapped, or tensor shapes are inconsistent. Inherits from `ValueError` because adapter conversion errors are validation failures.