Skip to content

Conversation

dkalinowski
Copy link
Collaborator

This is cherry-pick from release branch.

Pipeline cloning for multi-threaded usage had a few bugs:

  • generation config was not copied to newly cloned instances, causing n/h/w/guidance_scale to not propagate further
  • BS1 inference classes clone/copy had issue with default constructors which caused m_requests to duplicate and grow over time

This change was tested with SD v1.5 with text2image_concurrent sample, and this change will enable OpenVINO Model Server with NPU enablement for Image Generation use cases.

CVS-168932


Pipeline cloning for multi-threaded usage had a few bugs:
- generation config was not copied to newly cloned instances, causing
n/h/w/guidance_scale to not propagate further
- BS1 inference classes clone/copy had issue with default constructors
which caused m_requests to duplicate and grow over time

This change was tested with SD v1.5 with `text2image_concurrent` sample,
and this change will enable OpenVINO Model Server with NPU enablement
for Image Generation use cases.

CVS-168932

---------

Co-authored-by: Vladimir Zlobin <[email protected]>
@dkalinowski dkalinowski requested review from Wovchena and likholat June 30, 2025 07:27
@github-actions github-actions bot added category: image generation Image generation pipelines category: Image generation samples GenAI Image generation samples labels Jun 30, 2025
@Wovchena Wovchena enabled auto-merge June 30, 2025 07:28
@Wovchena Wovchena added this pull request to the merge queue Jun 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 30, 2025
@dkalinowski dkalinowski added this pull request to the merge queue Jul 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 1, 2025
@dkalinowski dkalinowski added this pull request to the merge queue Jul 2, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 2, 2025
@Wovchena Wovchena merged commit 9e277da into openvinotoolkit:master Jul 2, 2025
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Image generation samples GenAI Image generation samples category: image generation Image generation pipelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants