profile_sla_dgdr.yaml 1.14 KB
Newer Older
1
2
3
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
4
# DynamoGraphDeploymentRequest for online profiling (actual deployment testing)
5
6
7
8
9
10
11
12
13
14
apiVersion: nvidia.com/v1alpha1
kind: DynamoGraphDeploymentRequest
metadata:
  name: sla-online
spec:
  model: Qwen/Qwen3-0.6B
  backend: vllm

  # ProfilingConfig maps directly to the profile_sla.py config format
  profilingConfig:
15
    profilerImage: "nvcr.io/nvidian/dynamo-dev/vllm-runtime:dep-554.0"
16
17
18
    config:
      # Sweep/profiling configuration
      sweep:
19
        # Online profiling mode (real deployment testing)
20
21
22
23
24
25
26
27
28
29
30
        use_ai_configurator: false

      # SLA targets for profiling
      sla:
        isl: 3000   # Input sequence length
        osl: 150    # Output sequence length
        ttft: 200.0 # Time To First Token target (milliseconds)
        itl: 20.0   # Inter-Token Latency target (milliseconds)

  # Deployment overrides for the auto-created DGD
  deploymentOverrides:
31
    workersImage: "nvcr.io/nvidian/dynamo-dev/vllm-runtime:dep-554.0"
32
33
34

  # Automatically create DynamoGraphDeployment after profiling
  autoApply: true