#!/bin/bash # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 set -euo pipefail # Script directory SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" DYNAMO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" # Configuration - all set via command line arguments NAMESPACE="" MODEL="Qwen/Qwen3-0.6B" ISL=2000 STD=10 OSL=256 OUTPUT_DIR="./benchmarks/results" # Input configurations stored as associative arrays declare -A INPUT_LABELS declare -A INPUT_VALUES # Flags VERBOSE=false show_help() { cat << EOF Dynamo Benchmark Runner This script is a wrapper around genai-perf that benchmarks Dynamo LLM deployments and plots the results in an easy-to-use way. It supports comparing multiple DynamoGraphDeployments or endpoints with custom labels defined by you. The client runs locally and connects to your deployments/endpoints for benchmarking. USAGE: $0 --namespace NAMESPACE --input