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

update sdxl demo #18889

Merged
merged 3 commits into from
Dec 20, 2023
Merged

update sdxl demo #18889

merged 3 commits into from
Dec 20, 2023

Conversation

tianleiwu
Copy link
Contributor

@tianleiwu tianleiwu commented Dec 20, 2023

Description

(1) Support importing model from Olive.
(2) Add backend engine Torch (Eager and Compile modes) to the demo.
(3) Use fp16 in most places.
(4) Remove some old pipeline scripts that are not useful anymore. They are replaced by the demo.
(5) Remove old benchmark results that are out of date.
(6) Add PIL image conversion to end to end latency (for fair comparison with diffusers since the default output type is pil)
(7) Remove some options are seldom used like force-rebuild-engine, hf-token, refit etc.
(8) For sdxl-turbo, generate images from a prompt set if no prompt is given.

Motivation and Context

@tianleiwu tianleiwu marked this pull request as draft December 20, 2023 17:11
@tianleiwu tianleiwu marked this pull request as ready for review December 20, 2023 22:05
@tianleiwu tianleiwu merged commit 2d6e2e2 into main Dec 20, 2023
91 of 100 checks passed
@tianleiwu tianleiwu deleted the tlwu/sdxl_demo_olive_fp16 branch December 20, 2023 22:46
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.

2 participants