Context Cache Deployment#

ContextCacheDeploymentKind trt_edgellm::rt::validateContextCacheDeployment(
DeploymentConfig const &deployment
)#

Validate the logical deployment contract and return its execution family.

This is an early configuration gate. Request-level policy such as greedy-only EAGLE, media bypass, and full-hidden-output bypass is selected before admission by the runtime. Physical binding compatibility is validated separately after the engines are loaded.

Throws:

std::runtime_error – when a requested cache-enabled deployment is outside the supported matrix; callers must fail initialization rather than silently changing the configured execution mode