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

[NPU] Qwen2 divide linear in decode layers #12089

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

cyita
Copy link
Contributor

@cyita cyita commented Sep 18, 2024

Description

Qwen2 divide linear in decode layers.
Usage:

set IPEX_LLM_N_SPLITS_LINEAR=14
set IPEX_LLM_N_SPLITS_DOWN_PROJ=8

TODOs:

  • Solve conflicts
  • Use ruonan's sequence_concat + reduce sum

1. Why the change?

2. User API changes

3. Summary of the change

4. How to test?

  • N/A
  • 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.
  • Application test
  • Document test
  • ...

5. New dependencies

  • New Python dependencies
    - Dependency1
    - Dependency2
    - ...
  • New Java/Scala dependencies and their license
    - Dependency1 and license1
    - Dependency2 and license2
    - ...

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