pllm.deployment Python API
Public objects, practical usage, and research context for pllm.deployment.
Deployment records describe role placement, endpoints, and trust boundaries without starting services or embedding credentials. Presence documents API availability, not complete model, security, or deployment coverage; check implementation status before relying on a path.
Research context
This API is project infrastructure rather than an implementation of one specific paper. Relevant method pages link their primary sources separately.
Python SDK example
The example performs a bounded offline task and checks an observable result. It does not download a checkpoint or contact a provider.
import pllm.deployment as deployment
local = deployment.Deployment(kind="local", root="/tmp/pllm-example")
assert local.kind == "local" and local.root.endswith("pllm-example")API: pllm.deployment
Objects and signatures
Deployment
Immutable Deployment record carrying kind, root for the workflow where deployment records describe role placement, endpoints, and trust boundaries without starting services or embedding credentials.
- Canonical object:
pllm.configuration.Deployment - Kind:
class - Signature/type:
__init__(self, kind: str, root: str) -> None - Public exports:
pllm.Deployment,pllm.config.Deployment,pllm.deployment.Deployment - Public members:
kind: str;root: str;__init__(self, kind: str, root: str) -> None;classmethod local(cls, *, root: str) -> Self;get_params(self, deep: bool=True) -> dict[str, Any];with_params(self, **changes: object) -> Self;to_spec(self) -> dict[str, Any]