You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix concurrent request inpainting issue and demo review update
- Add clone() for Text2ImagePipeline and Image2ImagePipeline to enable
thread-safe concurrent requests
- Add InpaintingQueueGuard with Queue<int>(1) to serialize concurrent
inpainting requests (InpaintingPipeline lacks clone())
- Propagate extraQuantizationParams to all optimum export functions
- Add mask acceptance test for image edits endpoint
- Fix Sphinx tab formatting in image generation README
- Remove CPU from dedicated inpainting deployment section in README
Copy file name to clipboardExpand all lines: demos/image_generation/README.md
+29-34Lines changed: 29 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -370,24 +370,20 @@ ovms --rest_port 8000 ^
370
370
371
371
Wait for the model to load. You can check the status with a simple command:
372
372
```console
373
-
curl http://localhost:8000/v1/config
373
+
curl http://localhost:8000/v3/models
374
374
```
375
375
376
376
```json
377
377
{
378
-
"OpenVINO/stable-diffusion-v1-5-int8-ov" :
379
-
{
380
-
"model_version_status": [
381
-
{
382
-
"version": "1",
383
-
"state": "AVAILABLE",
384
-
"status": {
385
-
"error_code": "OK",
386
-
"error_message": "OK"
378
+
"object": "list",
379
+
"data": [
380
+
{
381
+
"id": "OpenVINO/stable-diffusion-v1-5-int8-ov",
382
+
"object": "model",
383
+
"created": 0,
384
+
"owned_by": "openvinotoolkit"
387
385
}
388
-
}
389
386
]
390
-
}
391
387
}
392
388
```
393
389
@@ -399,7 +395,7 @@ A single servable exposes the following endpoints:
399
395
-**Inpainting**: `images/edits` — multipart form with `image` + `mask` + `prompt`
400
396
-**Outpainting**: `images/edits` — multipart form with `image` + `mask` + `prompt` (image placed on larger canvas, mask marks the area to fill)
401
397
402
-
> **Note:** For inpainting/outpainting, dedicated inpainting models (e.g. `stable-diffusion-v1-5/stable-diffusion-inpainting`) only support the `images/edits` endpoint. Base models (e.g. `stable-diffusion-v1-5/stable-diffusion-v1-5`) support all endpoints.
398
+
> **Note:** For inpainting/outpainting, dedicated inpainting models (e.g. `stable-diffusion-v1-5/stable-diffusion-inpainting`) only support the `images/edits` endpoint. Check [supported models](https://openvinotoolkit.github.io/openvino.genai/docs/supported-models/#image-generation-models).
403
399
404
400
All requests are processed in unary format, with no streaming capabilities.
405
401
@@ -532,7 +528,9 @@ Inpainting replaces a masked region in an image based on the prompt. The `mask`
@@ -665,22 +675,6 @@ For the full list see [supported image generation models](https://openvinotoolki
665
675
> **Note:** Dedicated inpainting models only expose the `images/edits` endpoint (with mask). Text-to-image and image-to-image requests will return an error indicating the pipeline is not available for this model. Base models (e.g. `stable-diffusion-v1-5/stable-diffusion-v1-5`) support all endpoints including inpainting.
0 commit comments