-
Notifications
You must be signed in to change notification settings - Fork 168
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
Add LLM sample for DirectML #1082
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…avignol/add-llama-gqa-support
## Describe your changes Added the option to convert and run Falcon-7b-instruct using the llm.py script and the flag --model_type=falcon ## Checklist before requesting a review - [ ] Add unit tests for this change. - [ ] Make sure all tests can pass. - [ ] Update documents if necessary. - [ ] Lint and apply fixes to your code by running `lintrunner -a` - [ ] Is this a user-facing change? If yes, give a description of this change to be included in the release notes. ## (Optional) Issue link
jambayk
reviewed
Apr 15, 2024
jambayk
previously approved these changes
Apr 15, 2024
could we elaborate what's kinds of changes in this PR? for examples, what model is removed? what kinds of models are added? |
guotuofeng
reviewed
Apr 16, 2024
guotuofeng
reviewed
Apr 16, 2024
guotuofeng
reviewed
Apr 16, 2024
guotuofeng
reviewed
Apr 16, 2024
guotuofeng
reviewed
Apr 16, 2024
guotuofeng
reviewed
Apr 16, 2024
guotuofeng
reviewed
Apr 16, 2024
guotuofeng
reviewed
Apr 16, 2024
You can refer to https://github.com/microsoft/Olive/blob/main/examples/mistral/user_script.py#L54, which I remove some unused code before. |
guotuofeng
reviewed
Apr 16, 2024
…avignol/llm-combined-clean
examples/directml/llm/chat_app/interface/hddr_llm_onnx_dml_interface.py
Fixed
Show resolved
Hide resolved
guotuofeng
approved these changes
Apr 18, 2024
jambayk
approved these changes
Apr 18, 2024
DavitGrigoryan132
pushed a commit
to DavitGrigoryan132/Olive
that referenced
this pull request
Aug 14, 2024
This adds an LLM sample for DirectML that can convert and quantize a bunch of LLMs from HuggingFace. The Dolly, Phi and LLaMA 2 folders were removed and replaced with a more generic LLM example that supports a large number of LLMs, including but not limited to Phi-2, Mistral, LLaMA 2 --------- Co-authored-by: aamajumder <150728138+aamajumder@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds an LLM sample for DirectML that can convert and quantize a bunch of LLMs from HuggingFace.
The Dolly, Phi and LLaMA 2 folders were removed and replaced with a more generic LLM example that supports a large number of LLMs, including but not limited to Phi-2, Mistral, LLaMA 2