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

[fx] test tracer on diffuser modules. #1750

Merged
merged 3 commits into from
Oct 20, 2022

Conversation

super-dainiu
Copy link
Contributor

Updates

I tested diffuser modules (i.e. Unet, CLIP, and VAE) on our ColoTracer. Sadly, we cannot trace unet currently. But the good news is that VAE and CLIP are able to trace.

Test

image

Comment on lines +12 to +13
HEIGHT = 224
WIDTH = 224
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unfortunately, input for CLIPVisionModel should be (2, 3, 224, 224)

Copy link
Contributor

Choose a reason for hiding this comment

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

so?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so the input has to be 224 that large

Copy link
Contributor

Choose a reason for hiding this comment

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

ok.

@FrankLeeeee FrankLeeeee merged commit b893342 into hpcaitech:main Oct 20, 2022
@super-dainiu super-dainiu deleted the diffuser branch January 2, 2023 08:29
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

2 participants