-
Notifications
You must be signed in to change notification settings - Fork 38
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
[eplatero] Add support for exporting and compiling models for SpD #119
Merged
Merged
Changes from 26 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
457d5ae
rebasing with main. previous local gen_spd_models was broken since it…
eplatero97 6aae287
add decode_seq_len to non-continuous batching case
eplatero97 7472df8
mirror test_causal_lm_models.py from main
eplatero97 bc702b0
add more to the explanation of the model changes
eplatero97 e630b8f
lint fixing
eplatero97 840cb9f
alphabetical order imports on pytorch_transforms.py
eplatero97 ccdcfb7
add init to spd directory
eplatero97 ed57de7
replace modifying seq_len by letting user define proper config
eplatero97 0a0683d
resolving 1st round comments from Onkar and made fix on gather implem…
eplatero97 37b7b71
removing old unit tests
eplatero97 15f95b3
* Added way to make num_logits_to_keep dynamic in ONNX and removed ne…
ochougul e9309a3
changed interface to be similar to CB
ochougul f7917d6
made unit tests work with array approach
eplatero97 806ef1a
for TLM, made specialization return 1 logit for prefill and for decode
eplatero97 7dbb583
moved from to method because this flag only has implications for c…
eplatero97 a713a2c
fixing qpc directory naming to be backwards compatible
eplatero97 e0c150f
updating docstrings and documentation
eplatero97 12d2749
revert changes to CLI exportation of onnx and specialization to refle…
eplatero97 2bba06b
fixed specializations creation and ran formatter
ochougul 547ee41
add pytorch-level unit test
eplatero97 f9826c7
uncommented non-llama pytorch-level unit test
eplatero97 91f2fd7
modified pytorch level unit test and added hf vs ort vs qaic unit test
eplatero97 062b4d5
change llama test model from jackfram to tinyllama to match other tests
eplatero97 6ad5a69
fix failing tlm_dlm tests by passing is_tlm correctly in modeling_auto
eplatero97 58458c0
rm dlm specialization
eplatero97 39acd5f
updated quick_docs
eplatero97 6202874
rm tlm dims test since that's already tested and generalize common co…
eplatero97 0b85209
rm flag from non-test definition
eplatero97 5f52d98
rm unnecessary function that is not used
eplatero97 7b967e7
ran formatter and linter
ochougul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, just removed it 👍