Benchmark Datasets
This document describes datasets that AIPerf can use to generate stimulus. Additional support is under development, so check back often.
Dataset Options
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:
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:
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:
[system, user][system, user, assistant, tool][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.