Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add readme
  • Loading branch information
hhzhang16 committed Jul 14, 2025
commit 9bacb95225b42513b2ba4316b74e364aa1b2f55a
32 changes: 32 additions & 0 deletions examples/vllm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,38 @@ bash launch/dep.sh
> [!TIP]
> Run a disaggregated example and try adding another prefill worker once the setup is running! The system will automatically discover and utilize the new worker.

### Kubernetes Deployment

For Kubernetes deployment, YAML manifests are provided in the `deploy/` directory. These define DynamoGraphDeployment resources for various configurations:

- `agg.yaml` - Aggregated serving
- `agg_router.yaml` - Aggregated serving with KV routing
- `disagg.yaml` - Disaggregated serving
- `disagg_router.yaml` - Disaggregated serving with KV routing

#### Prerequisites

- **Container Images**: The deployment files currently require access to `nvcr.io/nvidian/nim-llm-dev/vllm_v1-runtime`. If you don't have access, build and push your own image:
```bash
./container/build.sh --framework VLLM_V1
# Tag and push to your container registry
# Update the image references in the YAML files
```

- **Port Forwarding**: After deployment, forward the frontend service to access the API:
```bash
kubectl port-forward deployment/vllm-v1-disagg-frontend-<pod-uuid-info> 8080:8000
```

#### Deploy to Kubernetes

Example with disagg:

```bash
cd ~/dynamo/examples/vllm/deploy
kubectl apply -f disagg.yaml
```

### Testing the Deployment

Send a test request to verify your deployment:
Expand Down