Skip to main content

LLM workload examples

These examples call hosted LLMs from a workload. Confirm that your tenant has LLM inference access before submitting a run.

ExampleStatusPurpose
vllm-chat.yamlValidated on Thor Stable in DEVAuthenticate with the injected machine identity, list models, and send one chat request.
vllm-burst.yamlApproval requiredMake five concurrent requests for capacity testing.

Submit the single-request example:

dphi> run create docs/examples/llm/vllm-chat.yaml --idempotency-key llm-workload-001
dphi> run wait YOUR_RUN_ID --timeout 900
dphi> run logs YOUR_RUN_ID --component-name vllm-chat

The job logs the available model IDs and the completion response. By default it uses the first model in the catalog. To select a different model, set VLLM_MODEL in the workload environment to an ID from the catalog. The HTTP API reference lists the model routes.

Run the burst example only with platform approval. It deliberately creates concurrent inference load.