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 F.linear and matmul in some moe models #66

Open
wenhuach21 opened this issue Mar 28, 2024 · 0 comments
Open

support F.linear and matmul in some moe models #66

wenhuach21 opened this issue Mar 28, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@wenhuach21
Copy link
Contributor

wenhuach21 commented Mar 28, 2024

https://huggingface.co/databricks/dbrx-instruct/blob/main/modeling_dbrx.py
A simple but engineering ugly solution is to follow https://huggingface.co/databricks/dbrx-instruct/discussions/10 to change the matmul to linear, let's follow this way to add a patch for this model

@wenhuach21 wenhuach21 changed the title support F.linear and matmul in special model support F.linear and matmul in some moe models Mar 28, 2024
@wenhuach21 wenhuach21 added the enhancement New feature or request label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants