xnn.common.models.registry.deployment_config#

xnn.common.models.registry.deployment_config(cfg)[source]#

A copy of cfg describing the deployed (single-head, LoRA-merged) model.

build_potential() serves one head with the LoRA updates folded in, so the heads / lora / head / pretrained entries of the model section no longer apply to the model it returns.