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] Add L0 support for NPU C++ #12454

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

rnwang04
Copy link
Contributor

@rnwang04 rnwang04 commented Nov 27, 2024

Description

1. Why the change?

2. User API changes

  • add a env variable IPEX_LLM_NPU_USE_LEVEL0
  • rename env variable IPEX_LLM_LAYERNORM_CONST -> IPEX_LLM_NPU_LAYERNORM_CONST

3. Summary of the change

  • support L0 export for Qwen2 NPU C++ first

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 November 27, 2024 07:22
@rnwang04 rnwang04 marked this pull request as ready for review November 27, 2024 08:03
@rnwang04 rnwang04 requested a review from jason-dai November 27, 2024 08:22
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 281c9b0 into intel-analytics:main Nov 27, 2024
1 check passed
@rnwang04 rnwang04 deleted the add_level_zero_cpp_support branch November 27, 2024 09:04
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