Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Stable Diffusion OpenVINO example #853

Merged
merged 3 commits into from
Jan 3, 2024
Merged

Add Stable Diffusion OpenVINO example #853

merged 3 commits into from
Jan 3, 2024

Conversation

xiaoyu-work
Copy link
Contributor

Describe your changes

Add Stable Diffusion OpenVINO example.

Next step:

  • Merge examples/stable_diffusion and examples/directml/stable_diffusion, or rewrite the README.md to link each other.
  • Double check if the model loader code can be unified.

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

(Optional) Issue link

jambayk
jambayk previously requested changes Jan 3, 2024
Copy link
Contributor

@jambayk jambayk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put back the readme at the root of the stable_diffusion folder.

@jambayk jambayk dismissed their stale review January 3, 2024 20:11

Request completed.

"engine": {
"search_strategy": false,
"evaluate_input_model": false,
"host": "local_system",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: both the host and local system are redundant since it's the default.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah since this is an example for user, I would like to make it clear.

@xiaoyu-work xiaoyu-work merged commit ea33f98 into main Jan 3, 2024
31 checks passed
@xiaoyu-work xiaoyu-work deleted the xiaoyu/sd branch January 3, 2024 22:05
@@ -74,6 +74,10 @@ def __init__(
self.objective_dict = objective_dict or {}
self.is_marked_pareto_frontier = is_marked_pareto_frontier

def get_output_model_path(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see where it is used. could you please help clarify the changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants