Skip to content

Conversation

@masahi
Copy link
Member

@masahi masahi commented Dec 12, 2022

Simple updates to support the stable diffusion model from diffusers. Scripts at https://github.com/masahi/torchscript-to-tvm/tree/master/stable-diffusion can be used to verify that the conversion works and the output of the pipeline using TVM-compiled modules looks ok (takes ~10 mins on CPU running for 50 steps, untuned).

@comaniac @shingjan @jroesch

@tvm-bot
Copy link
Collaborator

tvm-bot commented Dec 12, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

Copy link
Contributor

@comaniac comaniac left a comment

Choose a reason for hiding this comment

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

LGTM. Nice to know that we only miss one op in stable diffusion model.

@masahi masahi merged commit 760b10a into apache:main Dec 12, 2022
fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
* add baddbmm conversion

* fix

* suppress lint
mikeseven pushed a commit to mikeseven/tvm that referenced this pull request Sep 27, 2023
* add baddbmm conversion

* fix

* suppress lint
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.

3 participants