mlc-ai / mlc-ai/web-stable-diffusion
assert len(mod.functions) == 1 error
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 3.7k
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with web_stable_diffusion/trace/model_trace.py at line 98 and reproduce the assertion using mlc-ai-nightly-0.12.dev1246 with PyTorch 2.0.0. Compare that environment with the downloaded mlc-ai v0.9.dev0 package and determine whether the version mismatch causes mod.functions to differ; document the compatible versions or the required fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100