Skip to main content

ImageGenerationStats

Observed render timing and memory, with an explicit measurement scope.

memory_scopeMemory Scope (string)

Native RSS is sampled resident host memory; it does not claim GPU allocation measurements.

Possible values: [engine, native_process_rss]

Default value: engine
seconds_per_stepSeconds Per Step (number)required
total_generation_timeTotal Generation Time (number)required
num_inference_stepsNum Inference Steps (integer)required
num_imagesNum Images (integer)required
image_widthImage Width (integer)required
image_heightImage Height (integer)required
peak_memory_usage objectrequired
inBytesInbytes (integer)
Default value: 0
ImageGenerationStats
{
"memory_scope": "engine",
"seconds_per_step": 0,
"total_generation_time": 0,
"num_inference_steps": 0,
"num_images": 0,
"image_width": 0,
"image_height": 0,
"peak_memory_usage": {
"inBytes": 0
}
}