NS

nvidia/srt-slurm

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

95 stars 质量 54 趋势 35NOASSERTION

用于使用 TensorRT LLM、SGLang 和 vLLM 的分布式 LLM 推理基准测试的命令行工具。

概览

用于SLURM集群分布式LLM推理基准测试的命令行工具,使用TensorRT LLM、SGLang和vLLM。用声明式模式替换复杂的shell脚本和50+ CLI标志:2个YAML配方:引擎:命名引擎,角色:描述每个工作者角色,服务:涵盖工作者旁边启动的所有内容。 srtctl 提供一项技能,教 Claude Code、Codex 或 Cursor 如何设置结账、编写 srtslurm.yaml、编写和验证配方、提交并阅读结果。将其安装到结账窗口,并交给代理: SRCTTL-MCP是匹配的MCP服务器:Anywhere的schema工具(schema_summary、explain_field、validate_config、resolve_config),以及在结账节点内运行时的作业工具(submit_job、dry_run、job_status、job_logs、list_jobs、cancel_job)。参见docs/README.md。 - 安装 - 设置与配置 - 示例 - 可运行 2.

概述(AI 翻译)

用于SLURM集群分布式LLM推理基准测试的命令行工具,使用SGLang、vLLM、TensorRT LLM、TileRT、TokenSpeed和AMD的ATOM。用声明式schema: 2的YAML公式替换复杂的shell脚本和50+ CLI标志:engine:命名引擎,roles:描述每个工作者角色,services:覆盖与工作者并列启动的所有内容。

文档: https://nvidia.github.io/srt-slurm/(文档来源/代理:llms.txt)

快速启动

安装涵盖集群特定配置;示例/可运行的配方,每个前端和拓扑各一个。

让经纪人开车

srtctl 提供一项技能,教 Claude Code、Codex 或 Cursor 如何设置结账、编写 srtslurm.yaml、编写和验证食谱、提交并阅读结果。将其安装到结账窗口,并交给客服:

srtctl-mcp 服务器、编辑器的 RECIPE JSON Schema 和 llms.txt 都在文档主页中描述。

事物被记录的地方

  • 写配方:配方指南,然后是它链接的主题页面(引擎、拓扑、前端、基准测试、服务等)

本页由 AI 翻译,技术细节请以原文为准。

README

srtctl

Command-line tool for distributed LLM inference benchmarks on SLURM clusters using SGLang, vLLM, TensorRT LLM, TileRT, TokenSpeed and AMD’s ATOM. Replace complex shell scripts and 50+ CLI flags with a declarative schema: 2 YAML recipe: engine: names the engine, roles: describes each worker role, and services: covers everything launched next to the workers.

Documentation: https://nvidia.github.io/srt-slurm/ (source in docs/; agents: llms.txt)

Quick Start

git clone https://github.com/NVIDIA/srt-slurm.git
cd srt-slurm
uv sync --no-dev

# One-time setup: downloads etcd, NATS, uv and the tachometer binaries for the
# compute nodes' architecture and writes srtslurm.yaml (account, partition, GPUs per node)
make setup ARCH=aarch64  # or ARCH=x86_64

uv run srtctl dry-run -f examples/sglang/dynamo-agg.yaml   # render without submitting
uv run srtctl apply   -f examples/sglang/dynamo-agg.yaml   # submit

Installation covers cluster-specific setup; examples/ has runnable recipes, one per frontend and topology.

Let an agent drive it

srtctl ships a skill that teaches Claude Code, Codex or Cursor how to set up a checkout, write srtslurm.yaml, author and validate recipes, submit them, and read the results. Install it into the checkout and hand the agent the checkout:

uv run srtctl skill --target claude    # .claude/skills/srtctl/SKILL.md
uv run srtctl skill --target codex     # .codex/skills/srtctl/SKILL.md
uv run srtctl skill --target cursor    # .cursor/rules/srtctl.mdc

The srtctl-mcp server, the recipe JSON Schema for editors, and llms.txt are described in the documentation home.

Where things are documented

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add nvidia/srt-slurm
新手?先看 mcpskill.org 教程 →