Skip to content
Back to skills

Lazybatching Eval

ASecurity

Evaluates the inference latency, throughput, and SLA compliance of a dynamic batching system under varying request arrival rates and diverse DNN workloads. Use when the user wants to benchmark on ResNet, GNMT, Transformer, VGGNet, MobileNet, LAS, BERT, or asks about evaluating this task. Reports SLA violation rate.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpython

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill lazybatching-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lazybatching Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lazybatching Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-lazybatching-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-lazybatching-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lazybatching-eval
description: Evaluates the inference latency, throughput, and SLA compliance of a dynamic batching system under varying request arrival rates and diverse DNN workloads. Use when the user wants to benchmark on ResNet, GNMT, Transformer, VGGNet, MobileNet, LAS, BERT, or asks about evaluating this task. Reports SLA violation rate.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2010.13103
  bibtex_key: [REDACTED]
  confidence: high
---

# lazybatching-eval

> LazyBatching: An SLA-aware Batching System for Cloud Machine Learning Inference — Choi, Kim, and Rhu (2020) (arXiv:2010.13103, 2020)

## What this evaluates

Evaluates the inference latency, throughput, and SLA compliance of a dynamic batching system under varying request arrival rates and diverse DNN workloads.

## Datasets

- **ResNet** — total ?; splits: test (-1)
- **GNMT** — total ?; splits: test (-1)
- **Transformer** — total ?; splits: test (-1)
- **VGGNet** — total ?; splits: test (-1)
- **MobileNet** — total ?; splits: test (-1)
- **LAS** — total ?; splits: test (-1)
- **BERT** — total ?; splits: test (-1)

## Metrics

- `SLA violation rate` **(primary)** — range: [0, 1]
  - Fraction of inference requests where end-to-end latency exceeds the specified SLA deadline target.
- `average latency` — range: ms
  - Mean end-to-end inference time per query across all requests.
- `throughput` — range: req/sec
  - Number of inference queries processed per second.

## Input / output format

**Input**: Simulated inference requests arriving at a specified query-arrival rate (requests/sec) against target DNN models.

**Output**: Per-request end-to-end inference latency, system throughput, and SLA compliance status.

## Scoring recipe

```python
def compute_sla_violation_rate(latencies, sla_target_ms):
    violations = sum(1 for lat in latencies if lat > sla_target_ms)
    return violations / len(latencies)
```

## Common pitfalls

- SLA deadlines are vendor-specific and not publicly disclosed; the paper assumes a 100 ms default for slack estimation.
- Results are primarily based on simulations (20 runs) rather than real hardware traces for the primary NPU setup.
- The dec_timesteps parameter for dynamic DNN latency estimation significantly impacts SLA violation rates if set too low.

## Evidence (verbatim from paper)

> To quantify how well our LazyBatching scheduler minimizes SLA violations, we sweep the SLA target value (SLA_target in Equation 2) and measure the fraction of SLA violated inference requests as a function of different batching policies. As shown in Figure 15, graph batching experiences severe SLA violations even when the SLA target is set up loosely (e.g., even at SLA target of 100 ms, two-thirds of graph batching configurations experience more than 50% violations).

## Citation

```bibtex
@misc{choi2020lazybatching,
  title={LazyBatching: An SLA-aware Batching System for Cloud Machine Learning Inference},
  author={Choi, Kim, and Rhu (2020)},
  year={2020},
  note={arXiv:2010.13103}
}
```

- arXiv: 2010.13103

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.