(align-up size element-width)(bind-kv-linear! [past present past-seq-len] binding! seq-len)(bind-kv-sliding! [past present past-seq-len past->present present->past]
binding!
seq-len)(contiguous-kv-manager sess
mem-info
base-tz
kv-type
input-offset
output-offset
batch-size
num-heads
max-seq-len
head-dim)(copy-logits-decoder-model fact
mem-info
decoder-sess
decoder-opt
decoder-inputs
decoder-outputs
input-x
context-len)(core-decoder-model fact
mem-info
sess
opt
[input-x-name attention-mask-name :as input-names]
[logits-name :as output-names]
decode-input-x
max-seq-len)(element-alignment data-type)(embedding-decoder-model fact
mem-info
embedding-sess
embedding-opt
decoder-sess
decoder-opt
embedding-inputs
embedding-outputs
decoder-inputs
decoder-outputs
context-len)(embedding-model fact mem-info sess opt [input-ids-name] [embeds-name])(kv-names sess in-offset out-offset)(kv-shifter src dst seq-len)(base-tz this)(bind-past-kv! this binding past-seq-len)(bind-past-kv! this binding past-seq-len idx)(bind-present-kv! this binding total-seq-len)(bind-present-kv! this binding total-seq-len idx)(max-seq-len this)(decode-bind this)(prefill-bind this)(universal-options! opt! args)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |