agg.yaml 1.4 KB
Newer Older
1
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
3
# SPDX-License-Identifier: Apache-2.0

4
5
6
7
8
# NOTE: There is no dedicated `mocker-runtime` image. The mocker component
# (`python3 -m dynamo.mocker`) is bundled into the standard Dynamo backend
# runtime images published on NGC (e.g. `nvcr.io/nvidia/ai-dynamo/vllm-runtime`,
# `sglang-runtime`, `tensorrtllm-runtime`). Replace `my-dynamo-image:my-tag`
# below with any of those tags, or with your own built image.
9
10
11
12
13
14
15
16
17
18
19
apiVersion: nvidia.com/v1alpha1
kind: DynamoGraphDeployment
metadata:
  name: mocker-agg
spec:
  services:
    Frontend:
      componentType: frontend
      replicas: 1
      extraPodSpec:
        mainContainer:
20
          image: my-dynamo-image:my-tag
21
22
23
24
25
26
27
    decode:
      envFromSecret: hf-token-secret
      componentType: worker
      subComponentType: decode
      replicas: 1
      extraPodSpec:
        mainContainer:
28
          image: my-dynamo-image:my-tag
29
30
31
32
33
34
35
36
37
38
39
40
41
          workingDir: /workspace
          command:
          - python3
          - -m
          - dynamo.mocker
          args:
            - --model-path
            - nvidia/Llama-3.1-8B-Instruct-FP8
            - --model-name
            - nvidia/Llama-3.1-8B-Instruct-FP8
            - --speedup-ratio
            - "1.0"
            - --planner-profile-data
42
            - /workspace/components/src/dynamo/planner/tests/data/profiling_results/H200_TP1P_TP1D