benchmarking-ml-models

Benchmark ML models by measuring latency, throughput, memory, and accuracy.

1|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/Open330/agt --skill benchmarking-ml-models
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmarking-ml-models
Source: https://github.com/Open330/agt/tree/main/ml/ml-benchmark
Command: npx skills add https://github.com/Open330/agt --skill benchmarking-ml-models

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, yq, bc, curl, nvidia-smi, and includes scripts (resource) components.

What problem does it solve?

Runs ML model benchmarks and evaluations, measuring inference speed, memory usage, and accuracy across models and configurations.

Core Features & Use Cases

  • Benchmarking: measure latency, throughput, memory, and accuracy to compare models.
  • Hardware profiling: evaluate performance across GPUs and batch sizes.
  • Use Case: comparing two models to select the best trade-off for a production pipeline.

Quick Start

To start benchmarking, run the ml-benchmark.sh script with the desired model and endpoint.

Frequently Asked Questions about benchmarking-ml-models

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I benchmark ML models for latency and memory usage?

You can benchmark ML models by running a Bash orchestration script that measures inference latency, memory usage, throughput, and accuracy. This script coordinates benchmark runs across models and configurations, reporting the results in a structured format.

Can I evaluate ML model performance across different GPUs and batch sizes?

Yes, you can evaluate ML model performance across GPUs and batch sizes through hardware profiling. The benchmarking process measures inference speed and memory usage to help you understand performance variations across different hardware configurations.

What do I need to measure inference throughput for machine learning models?

To measure inference throughput, you need a Bash environment with dependencies like jq, yq, bc, curl, and nvidia-smi installed. These tools allow the orchestration script to coordinate benchmark runs and collect performance metrics.

What is the best way to compare machine learning models for a production pipeline?

The best way to compare models for a production pipeline is by measuring their latency, throughput, memory usage, and accuracy. This benchmarking approach helps you identify the optimal trade-off between speed and resource consumption for your deployment.

Does benchmarking ML models work without GPU profiling tools?

Benchmarking ML models relies on nvidia-smi for GPU profiling, so a GPU environment is expected. The benchmark orchestration also requires standard command-line utilities like jq, yq, bc, and curl to process and report the performance metrics.