Buckets:
| # generation/cache | |
| Cache classes used by `generate()` to preserve and reuse decoder | |
| past key/value tensors across calls. Pass a `DynamicCache` through | |
| generation options when you need to persist KV state between turns. | |
| ## Type Definitions | |
| ### DynamicCache | |
| Mutable cache of decoder past key/value tensors used by `generate()`. | |
| Pass a `DynamicCache` through generation options when you need to preserve | |
| cache tensors across calls or inspect them from `return_dict_in_generate`. | |
| _Type:_ `Record`<`string`, [`Tensor`](../utils/tensor#module_utils/tensor.Tensor)> | |
Xet Storage Details
- Size:
- 566 Bytes
- Xet hash:
- d6deb5077e3bcac4e81ae3a81af7b524b7521e5507c18c00bc5ee72d226f261e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.