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

Support Qwen2-MoE Architecture #2089

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Hzfengsy
Copy link
Member

@Hzfengsy Hzfengsy commented Apr 5, 2024

Qwen1.5-MoE-A2.7B-Chat is an open-sourced 14B MoE model, based on Qwen2-MoE architecture. It is possible to run on mobile devices.

Note that we need to support multi-device TP for the arch for future large models. However, I fail to do that because of limited devices.

cc @vinx13 @tqchen

@tqchen
Copy link
Contributor

tqchen commented Apr 5, 2024

@DiegoCao can you help to followup and add TP support?

@Hzfengsy
Copy link
Member Author

Hzfengsy commented Apr 5, 2024

depends on apache/tvm#16848, waiting for the next sync

@MasterJH5574
Copy link
Collaborator

Just rebased mlc-ai/relax. Let's trigger the CI tomorrow.

@DiegoCao
Copy link
Member

DiegoCao commented Apr 7, 2024

Got it, working on the TP support

@Hzfengsy
Copy link
Member Author

Waiting for dependencies: apache/tvm#16887 and apache/tvm#16886

BTW, there is a known numerical issue on Vulkan. Will fix it in a follow-up PR.

@tqchen
Copy link
Contributor

tqchen commented Apr 29, 2024

@Hzfengsy seems alll deps are landed, let us followup

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

4 participants