-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherrypick allocr related changes from public (#247)
* No alloc (#250) * don't pre-allocate kv cache (it needs reordering anyway) * enable support for more int operations * fix buffers allocation * add kv_cache_ctx for enc_dec attn cache * add lifespan * use allocr in generate_sequence * test all layers with allocr * avoid copy of wav file * force allocation of kv_cache otherwise buffers are reused * get_rows for ints * ggml: pimp up dot graph * Revert "add lifespan" This reverts commit 73cf7963ff9a6dcb37b7713910ba81b797ffb743. * cleanup * Revert "ggml: pimp up dot graph" This reverts commit 6bc467133900e9ba8f5cf48710c9249ea7be8aaf. * less restrictive test * allocr for encoder --------- Co-authored-by: Guillaume Wenzek <[email protected]>
- Loading branch information
Showing
8 changed files
with
339 additions
and
202 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.