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

Refactor NPU baichuan multiple-process #11945

Merged
merged 11 commits into from
Aug 28, 2024
Merged

Conversation

jenniew
Copy link
Contributor

@jenniew jenniew commented Aug 27, 2024

Refactor NPU baichuan multiple-process code.

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
  • ...

@jenniew jenniew requested a review from plusbang August 27, 2024 21:53
@@ -111,7 +112,7 @@ def run_model(
return results


class LowBitLlamaMultiDecoderlayer(NNFactory):
class LowBitLlamaMultiDecoderlayer(LLMBaseNNFactory):
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 modify to LowBitBaichuanMultiDecoderlayer, other classes also.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@jenniew jenniew merged commit 63ac5f6 into intel-analytics:main Aug 28, 2024
1 check passed
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