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.5 3B for NPU & update related examples #12438

Merged
merged 5 commits into from
Nov 25, 2024

Conversation

rnwang04
Copy link
Contributor

@rnwang04 rnwang04 commented Nov 25, 2024

Description

1. Why the change?

https://github.com/analytics-zoo/nano/issues/1754#issuecomment-2496606222
Work with https://github.com/intel-analytics/llm.cpp/pull/678

2. User API changes

No change.

3. Summary of the change

  • Fix runtime error of qwen2.5 3B when running python acc lib
  • Considering precision issue, default use CW int8 for qwen2.5 3B when running python acc lib / python pipeline / C++ NPU
  • Update related example & readme
  • Replace load_in_low_bit with low_bit parameter in example script

4. How to test?

  • Unit test: Please manually trigger the PR Validation here by inputting the PR number (e.g., 1234). And paste your action link here once it has been successfully finished.

@rnwang04 rnwang04 changed the title Support qwen2.5 3B for NPU Support qwen2.5 3B for NPU & update related examples Nov 25, 2024
@rnwang04 rnwang04 requested a review from jason-dai November 25, 2024 06:52
Copy link
Contributor

@jason-dai jason-dai left a comment

Choose a reason for hiding this comment

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

LGTM

@rnwang04 rnwang04 merged commit b9abb8a into intel-analytics:main Nov 25, 2024
1 check passed
@rnwang04 rnwang04 deleted the support_qwen2.5-3B branch November 25, 2024 08:38
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