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

assert len(mod.functions) == 1 error #44

Open
keilsmart opened this issue Jul 10, 2023 · 2 comments
Open

assert len(mod.functions) == 1 error #44

keilsmart opened this issue Jul 10, 2023 · 2 comments

Comments

@keilsmart
Copy link

File web_stable_diffusion/trace/model_trace.py", line 98, in vae_to_image
assert len(mod.functions) == 1
AssertionError

my enviroment is mlc-ai-nightly-0.12.dev1246, pytorch2.0.0.

Since I can't use pip3 install mlc-ai-nightly -f https://mlc.ai/wheels to install mlc-ai directory, so I download mlc-ai from https://github.com/mlc-ai/package/releases/tag/v0.9.dev0.

Is this caused by the mlc-ai version?

@Civitasv
Copy link

It should be 2.

@luismiaresse
Copy link

The same happened to me. You have to use the nightly version of pytorch (it is in their walkthrough notebook). Stable version gives that error

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

No branches or pull requests

3 participants