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

Initial NPU support for MiniCPM-V-2_6 #11966

Merged
merged 14 commits into from
Aug 30, 2024

Conversation

rnwang04
Copy link
Contributor

@rnwang04 rnwang04 commented Aug 29, 2024

Description

1. Why the change?

  • Initial NPU support for MiniCPM-V-2_6 : put LLM on NPU and keep other part on CPU.

  • add initial NPU example script

  • add modules_to_not_convert support

  • TODO: update readme of Multimodal directory

2. User API changes

3. Summary of the change

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 marked this pull request as draft August 29, 2024 11:21
@rnwang04 rnwang04 marked this pull request as ready for review August 30, 2024 04:21
@rnwang04 rnwang04 requested review from jason-dai and plusbang August 30, 2024 04:23
@rnwang04
Copy link
Contributor Author

will update readme of Multimodal directory in next PR.

@rnwang04 rnwang04 merged commit 60aa1a2 into intel-analytics:main Aug 30, 2024
1 check passed
@rnwang04 rnwang04 deleted the minicpm_v2_6_npu branch August 30, 2024 08:34
cranechu0131 pushed a commit to cranechu0131/ipex-llm that referenced this pull request Sep 9, 2024
* initial pr

* update npu model

* fix

* fix kv cache type

* fix

* small fix

* fix style

* fix model id

* change inter_pp=4

* address comment

* fix

* fix style

* fix

* rebase
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