[Bugfix] Return diffusion metrics for image-edit endpoint (#5999)

Signed-off-by: Kristoffer <kristoffer.torp@amd.com>
Signed-off-by: kTorp <kristorp@amd.com>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
KristofferandHongsheng Liu authored and GitHub committed 2026-08-20 15:28:55 +00:00
1 parent 273ffce130
commit 718d9a4cd7
3 files changed
+128 -5

No files matched your search

+8 -1
View File
@@ -123,7 +123,14 @@ When `stream=false` or omitted, the endpoint returns the standard image edit res
}
],
"output_format": null,
"size": null
"size": null,
"metrics": {
"stage_durations": {
"queue_wait_ms": 1.0,
"stage_0_gen_ms": 2.0
},
"peak_memory_mb": 1024.0
}
}
```