Skip to navigation

Benchmark Datasets

View as MarkdownOpen in Claude

This document describes datasets that AIPerf can use to generate stimulus. Additional support is under development, so check back often.

Dataset Options

DatasetSupportData Source
Synthetic Text✅Synthetically generated text prompts pulled from Shakespeare
Synthetic Audio✅Synthetically generated audio samples
Synthetic Images✅Synthetically generated image samples
Custom Data✅—input-file your_file.jsonl —custom-dataset-type single_turn
Mooncake✅Mooncake trace file —input-file your_trace_file.jsonl —custom-dataset-type mooncake_trace
Baseten Trace✅Baseten completion trace parquet —input-file your_trace.parquet —custom-dataset-type baseten_trace
ShareGPT✅Conversations from —public-dataset sharegpt
Hugging Face trajectories✅Recorded trajectories from —public-dataset mooncake_hf
Exgentic✅Recorded agent sessions from —public-dataset exgentic
Exgentic v2✅Expanded recorded agent sessions from —public-dataset exgentic_v2
Agentic Code✅Synthetic multi-turn coding-agent traces with shared prompt layers, repository context, and cache-aware turn growth. Generated via aiperf synthesize agentic-code and replayed as a Mooncake trace.
H CUA Perf✅Real computer-use agent traces (tool calling, one screenshot per request, recorded think time) from H Company, replayed as a Mooncake trace —public-dataset h_cua_perf
TraceLab✅Real agentic coding sessions from the TraceLab corpus, replayed with synthesized KV-cache block IDs and recovered subagent nesting —input-file syfi_coding_trace.jsonl.gz —custom-dataset-type tracelab

Exgentic Agent Trace Replay

The Exgentic loaders stream recorded agent sessions directly from Hugging Face. exgentic is pinned to v1 revision 70036b93a04e61b0ea2706a68b962f4f26774587; exgentic_v2 is independently pinned to v2 revision 4b8ad4ab198438e5a170f9171c19c6a2cf7c1814. Each replays successful, positive-token chat call snapshots. Recorded messages, system instructions, tool definitions, output-token limits, request controls, and call start times are preserved. Tools are not executed, and live responses are not added to later requests. Every request carries the source session as x-dynamo-session-id for Dynamo agentic tracing while AIPerf retains its own request correlation ID.

Provide a finite materialization bound through --num-conversations, --num-dataset-entries, or --request-count. --benchmark-duration limits request issuance, not dataset setup.

Select a source harness and source model independently from the target model served by the endpoint:

aiperf profile \
--model TARGET_MODEL \
--url http://localhost:8000/v1/chat/completions \
--endpoint-type chat \
--public-dataset exgentic_v2 \
--dataset-filter benchmark=swebench \
--dataset-filter harness=tool_calling \
--dataset-filter source_model=Kimi-K2.5 \
--num-conversations 1 \
--fixed-schedule

source_model selects the model that produced the trace; --model selects the target model receiving the replay. benchmark selects an Exgentic v2 workload. Invalid filters report the available harness/model combinations. The v1 dataset contains 22 combinations across five harnesses and six canonical source models.

Fixed-schedule mode emits each recorded call as an independently scheduled one-turn request using its start offset from the source session. Calls that overlapped in the trace therefore overlap during replay. Selected source sessions start together at offset zero. Without --fixed-schedule, each source session remains a closed-loop multi-turn conversation: AIPerf waits for one live response before applying the recorded residual delay and sending the next request.

Size the target context window for the selected trace plus the target model’s chat-template overhead. Recorded contexts reach about 178K tokens, and some Gemini tool-calling sessions exceed 64K before target formatting. tool_calling_with_shortlisting alternates a selector request containing the full tool catalog with executor requests containing a changing subset of schemas. Low executor prefix-cache reuse is expected for that harness and is not a loader error.

Hugging Face Mooncake Trajectory Replay

Use --public-dataset mooncake_hf to replay complete recorded trajectories from a Hugging Face repository selected with --hf-mooncake-dataset. This flag automatically selects mooncake_hf. The loader extends the Hugging Face reader and delegates to Mooncake’s recorded request snapshots (message_array_with_responses). This mode expects one complete trajectory per row.

The default split is test. Use --hf-mooncake-split <split> for other split selection.

For example, replay trace-commons/agent-traces:

aiperf profile \
--model TARGET_MODEL \
--url http://localhost:8000/v1/chat/completions \
--endpoint-type chat \
--hf-mooncake-dataset trace-commons/agent-traces \
--hf-mooncake-split train \
--dataset-filter harness=claude_code \
--mooncake-trace-to-hf-mapping output_length=metadata.usage.output_tokens \
--concurrency 64 \
--num-sessions 100 \
--streaming

Each --mooncake-trace-to-hf-mapping TARGET=SOURCE maps a Mooncake field to a dotted source path. Supported targets are session_id, messages, tools, output_length, extra, and extra.PARAMETER for a top-level request parameter. Unmapped fields use their canonical Mooncake column names. Session IDs accept nonempty strings or integers; integers are converted to strings before checking for duplicates. Filters accept both JSON and Python scalar spellings: true/True, false/False, and null/None. For example, use --dataset-filter success=true or --dataset-filter score=null. String filters remain case-sensitive.

output_length sets the same output-token cap for every generation step in the trajectory; it does not specify per-step recorded lengths. For example, mapping output_length=metadata.usage.output_tokens in trace-commons/agent-traces would apply the final API call’s usage to every step.

Each HF row remains one session. The loader creates a request before every assistant message, including tool-call-only messages. For example, [system, user, assistant, tool, assistant, tool, assistant, tool] produces:

  1. [system, user]
  2. [system, user, assistant, tool]
  3. [system, user, assistant, tool, assistant, tool]

Use concurrency or request-rate scheduling. Fixed scheduling is rejected because these trajectories contain no per-call timestamps. Mooncake HF requires a chat endpoint and rejects --extra-inputs overrides of messages, input, model, and tools. These checks run during configuration validation, including when reusing a cached dataset. Requests within each session run sequentially, while separate sessions can run concurrently. --num-sessions counts trajectories; --request-count counts individual generation steps and can stop partway through a trajectory. Use the selected trajectory count to replay each once with sequential sampling.

Streaming dataset loading uses the shared Hugging Face materialization bound: the largest profiling-phase request count when set, otherwise the configured dataset entry count. Only matching trajectories count toward the bound, and each selected trajectory is kept in full. Duration-only runs without an entry limit still load all matching rows.

Each generation step stores its full recorded history, so long trajectories can require much more memory and disk space than the source dataset. With similarly sized messages, total prefix storage grows quadratically with trajectory length.