What problem does it solve?
Running TensorRT-LLM tests, accuracy evaluations, and throughput benchmarks on Slurm clusters or local Docker requires manually resolving Docker images, container mounts, GPU parallelism, MPI modes, and Slurm directives, which is error-prone and repetitive.
Core Features & Use Cases
- Parameter Resolution: Automatically resolves the Docker image by node architecture, container mounts, partition/account, GRES flags, and PMIx MPI plugin from a pre-detected slurm_env.json file.
- Multi-Workflow Script Generation: Produces ready-to-submit scripts for pytest, trtllm-eval, trtllm-bench, perf-sanity benchmarks, and custom commands across local Docker, local Slurm, and remote Slurm scenarios.
- Job Manifest Output: Writes a job_spec.json manifest with log patterns, success/failure patterns, and Slurm parameters for downstream executor skills.
- Use Case: Given a pytest command and a target Slurm partition, generate a complete .slurm script with correct #SBATCH directives, containerized srun steps, and a job_spec.json manifest in one pass.
Quick Start
Ask the agent to build a Slurm script for running a TensorRT-LLM pytest on a specific partition, providing the test command, work directory, and repo root.