Skip to content
Repo

VllmRecipe

from modal_training_gym.deploy_recipes.vllm_recipe import VllmRecipe

vLLM server settings.

Attributes

recipe_type DeployRecipeType

Default: vllm

gpu Literal['H100', 'H200', 'B200', 'B300'] | None

GPU type for server containers.

n_gpu int | None

Number of GPUs and tensor-parallel degree.

extra_vllm_args list[str] | None

Additional arguments for vllm serve.

environment_name str | None

Modal deployment environment.

deploy_strategy str

Modal deployment strategy. Default: "rolling"

startup_timeout int

Maximum time in seconds for container startup. Default: 1200