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

Update doc for running npu generate example with ipex-llm[npu] #11876

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

sgwhat
Copy link
Contributor

@sgwhat sgwhat commented Aug 21, 2024

Description

1. Why the change?

For NPU generate example, switch npu installation from pip install ipex-llm[all] pip install intel-npu-acceleration-library==1.3 to our new release pip install ipex-llm[npu].

2. User API changes

Installation changes as above.

3. Summary of the change

Document changes.

4. How to test?

  • Application test

@sgwhat sgwhat requested a review from plusbang August 21, 2024 05:40
@@ -54,7 +54,7 @@ def get_prompt(message: str, chat_history: list[tuple[str, str]],
help='Prompt to infer')
parser.add_argument("--n-predict", type=int, default=32, help="Max tokens to predict")
parser.add_argument("--max-output-len", type=int, default=1024)
parser.add_argument("--max-prompt-len", type=int, default=768)
parser.add_argument("--max-prompt-len", type=int, default=512)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please also update default value in readme. Other LGTM.

@sgwhat sgwhat merged commit 8c5c7f3 into intel-analytics:main Aug 21, 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