nvidia.com_v1beta1_dynamographdeploymentrequest.yaml 2.72 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: nvidia.com/v1beta1
kind: DynamoGraphDeploymentRequest
metadata:
  name: example-llm-sla
spec:
  # Model is a high-level identifier for the model being deployed (required)
  model: Qwen/Qwen3-0.6B

  # Backend to use for profiling and deployment
  backend: trtllm

  # Image is the container image reference for the profiling job
28
  image: "nvcr.io/nvidia/ai-dynamo/tensorrtllm-runtime:1.0.0"
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69

  # SearchStrategy controls the profiling search depth
  # "rapid" for fast sweep; "thorough" for deeper exploration
  searchStrategy: thorough

  # Hardware describes the hardware resources available for profiling and deployment.
  # In cluster-scoped mode the operator auto-discovers GPU info from cluster nodes
  # (via GPU Feature Discovery labels), so these fields are optional.
  # In namespace-restricted mode, auto-discovery is intentionally disabled because
  # the operator lacks permission to list cluster nodes. Validation will reject the
  # DGDR before any profiling runs, so you must explicitly set numGpusPerNode,
  # gpuSku, and vramMb.
  hardware:
    numGpusPerNode: 8       # GPUs per node (required in namespace-restricted mode)
    gpuSku: h200_sxm        # Hardware system (required in namespace-restricted mode)
    # vramMb: 141557        # GPU VRAM in MiB (required in namespace-restricted mode)

  # Workload defines the expected workload characteristics
  workload:
    isl: 3000  # Input sequence length
    osl: 500   # Output sequence length

  # SLA defines service-level agreement targets for profiling optimization
  sla:
    ttft: 50.0  # Time To First Token target (milliseconds)
    itl: 10.0   # Inter-Token Latency target (milliseconds)

  # Optional: Features controls optional Dynamo platform features
  # features:
  #   planner:
  #     plannerMinEndpoint: 2
  #   mocker:
  #     enabled: false

  # Optional: Overrides allows customizing the profiling job and generated DGD
  # overrides:
  #   profilingJob: { ... }
  #   dgd: { ... }

  # Optional: Automatically create DynamoGraphDeployment after profiling
  autoApply: true  # default is true