Run batch LLM inference with vLLM on Deadline Cloud
The
vllm_batch job bundle on GitHub
The bundle uses the Deadline Cloud task chunking feature to group prompts into batched tasks, and an Open Job Description step environment to load the model once per worker instead of once per task. For more information, see Task chunking for job templates.
To run this bundle, you need a service-managed fleet with NVIDIA
GPUs and at least 32 GB RAM, and a queue with a conda queue environment
that reads CondaPackages and CondaChannels
job parameters. From the job_bundles directory of the
samples repository, submit the job:
deadline bundle gui-submit vllm_batch
You can chain the output into the Generate images in batch with a diffusion model on Deadline Cloud bundle to turn generated text into captioned images.
For a complete walkthrough that covers farm setup, input format, chunk sizing, and viewing the results, see Run batch LLM inference with vLLM.