Skip to content

tinker_cookbook.exceptions.WeightsAdapterError

class tinker_cookbook.exceptions.WeightsAdapterError(WeightsError, 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.