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

[Model] Support weight absorption for DeepSeek-v2 #3115

Merged

Conversation

MasterJH5574
Copy link
Member

This PR supports the weight absorption for DeepSeek-v2/v3 models.

At this moment, absorption is enabled by default, while for the first prefill, computing without weight absorption is usually more efficient. The logic that switches between weight absorption and normal computation is still in progress.

@MasterJH5574 MasterJH5574 marked this pull request as draft February 2, 2025 02:55
@MasterJH5574
Copy link
Member Author

Marked as draft as it depends on apache/tvm#17618.

@MasterJH5574 MasterJH5574 force-pushed the 02-01-deepseek-weight-absorption branch 2 times, most recently from 736cd31 to e26a1f2 Compare February 7, 2025 00:56
@MasterJH5574 MasterJH5574 marked this pull request as ready for review February 7, 2025 00:56
@MasterJH5574 MasterJH5574 force-pushed the 02-01-deepseek-weight-absorption branch from e26a1f2 to d6cf4d6 Compare February 8, 2025 05:29
This PR supports the weight absorption for DeepSeek-v2/v3 models.

At this moment, absorption is enabled by default, while for the first
prefill, computing without weight absorption is usually more efficient.
The logic that switches between weight absorption and normal
computation is still in progress.
@MasterJH5574 MasterJH5574 force-pushed the 02-01-deepseek-weight-absorption branch from d6cf4d6 to df389a7 Compare February 8, 2025 16:37
@MasterJH5574 MasterJH5574 merged commit ca927c7 into mlc-ai:main Feb 8, 2025
2 checks passed
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.

1 participant