pllm
SDK

Build

Define a reproducible PLLM system from configuration, models, components, and research methods.

PLLM documentationView Markdown ↗

Python SDK example

from pllm import Cpu, Model, Pipeline

pipeline = Pipeline.from_profile(
    "public-weight-local",
    model=Model("Qwen/Qwen2.5-0.5B-Instruct"),
    components={"kernel": Cpu(threads=2)},
)
assert pipeline.to_spec()["components"]["kernel"]["params"]["threads"] == 2

API: Python SDK objects and signatures

On this page

Loading documentation index…

Search runs locally in this browser.