-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add general support for generation on TRN with NxD (#370)
* Add general support for generation on TRN with NxD * Fix bugs and refactor generation utils * Add unit tests and minor fixes * Move unit tests from CPU to TRN * Fix max length when max_new_tokens is used * Fix styles * Fix styles - imports * Fix test neuron compile flags * Add beam sample tests and remove GPT-2 tests --------- Co-authored-by: Ubuntu <[email protected]>
- Loading branch information
1 parent
9837efa
commit 8fd86c1
Showing
5 changed files
with
386 additions
and
5 deletions.
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
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.