mlc-llm icon indicating copy to clipboard operation
mlc-llm copied to clipboard

[Bug] Missing post layernorm in CLIP model

Open vincentccc opened this issue 6 months ago • 0 comments

🐛 Bug

Image I found clip model missing post_layernorm in forward, I tried to add post_layernorm, but I found there are some problem.

To Reproduce

Steps to reproduce the behavior:

Image If I use L:217, it will raise AttributeError: 'tuple' object has no attribute '_expr' If I use L:218, it will raise TypeError: Don't know how to handle type <class 'tvm.relax.frontend.nn.core.Tensor'>

Did I miss something? Wish to get some help, thanks a lot @MasterJH5574

vincentccc avatar Apr 16 '25 03:04 vincentccc