|
| 1 | +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 2 | +# SPDX-License-Identifier: Apache-2.0 |
| 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 | +@@@@@@@@@@@@@@ @@@@@@ @@@@@ @@@@@ @@@@@@@@@@@@@@ @@@@@ @@@@@@@@@ |
| 28 | +@@@@@ @@@@@@@@@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ |
| 29 | +@@@@@ @@@@@ @@@@@@@@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@ @@@@@@ |
| 30 | +@@@@@ @@@@@ @@@@@@@@@@ @@@@@ @@@@@ @@@@@@ @@@@@ @@@@@@@@@@@@@ |
| 31 | +@@@@@ @@@@@ @@@@@@@@@ @@@@@ @@@@@@@@@@@@@@ @@@@@ @@@@@@@@@@@@@@@ |
| 32 | +@@@@@ @@@@@ @@@@@@@ @@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@ @@@@@@ |
| 33 | + @@@ @@@ @@@@ @@@ @@@@@@@ @@ @@@ @@@ ® |
| 34 | + |
| 35 | +Dynamo: A Datacenter Scale Distributed Inference Serving Framework |
| 36 | + |
| 37 | +This is a framework-less image designed to deploy and run CPU-bound Frontend |
| 38 | +components without requiring CUDA or backend engine dependencies (vllm/sglang). |
| 39 | + |
| 40 | +The frontend container includes: |
| 41 | +- HTTP API service |
| 42 | +- Preprocessor |
| 43 | +- Router |
| 44 | +- Endpoint Picker (EPP) for Gateway API Inference Extension |
| 45 | + |
| 46 | +Benefits: |
| 47 | +- Minimal dependencies for purely CPU-based processes |
| 48 | +- Fast deployment for integration testing on GPU-constrained clusters |
| 49 | +- Can spin up frontend with mock workers for rapid testing |
| 50 | + |
| 51 | +Quick Start: |
| 52 | + |
| 53 | +Start mocker with custom configuration: |
| 54 | +> python -m dynamo.mocker \ |
| 55 | + --model-path TinyLlama/TinyLlama-1.1B-Chat-v1.0 \ |
| 56 | + --num-gpu-blocks-override 8192 \ |
| 57 | + --block-size 16 \ |
| 58 | + --speedup-ratio 10.0 \ |
| 59 | + --max-num-seqs 512 \ |
| 60 | + --num-workers 4 \ |
| 61 | + --enable-prefix-caching |
| 62 | + |
| 63 | +Start frontend server: |
| 64 | +> python -m dynamo.frontend --http-port 8000 |
| 65 | + |
| 66 | + |
0 commit comments