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-7b MLP in int4 and transpose_value_cache=True #11968

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

yangw1234
Copy link
Contributor

@yangw1234 yangw1234 commented Aug 29, 2024

@yangw1234 yangw1234 requested a review from plusbang August 29, 2024 22:16
@@ -396,7 +396,7 @@ def set_weights_async(self, op_id, weights):
(f"weights size does not match graph, "
f"with weights size: {len(weights)} and "
f" graph linear size: {len(self.linear_ops)}"))
self.setWeights(offset, op_id, *weights)
self.setWeights(offset, op_id, *weights, verify_size=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we could remove verify size check? other LGTM.

@plusbang
Copy link
Contributor

plusbang commented Sep 2, 2024

Fixed conflict and merge it first.

@plusbang plusbang merged commit c48817b into intel-analytics:main Sep 2, 2024
1 check passed
@plusbang plusbang mentioned this pull request Sep 2, 2024
1 task
cranechu0131 pushed a commit to cranechu0131/ipex-llm that referenced this pull request Sep 9, 2024
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.

2 participants