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

[Unity][Frontend][NN] Add Timesteps layer to NN Module API #15603

Merged
merged 12 commits into from
Aug 25, 2023

Conversation

jwfromm
Copy link
Contributor

@jwfromm jwfromm commented Aug 21, 2023

This PR adds support for the huggingface diffusers Timesteps layer. This is useful when constructing stable diffusion like models. The definition of the layer required padding, so I also implemented relax.op.nn.pad using semantics as close to pytorch as possible.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Aug 21, 2023

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

@jwfromm jwfromm requested a review from cyx-6 August 21, 2023 20:27
Copy link
Contributor

@cyx-6 cyx-6 left a comment

Choose a reason for hiding this comment

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

It looks good to me!

@Hzfengsy Hzfengsy merged commit 7d1a101 into apache:unity Aug 25, 2023
1 check passed
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.

4 participants