transformers
b7477fbb - experts_offload: per-layout pools, external expert source + compute hook, cold prefill installs

Commit
16 days ago
experts_offload: per-layout pools, external expert source + compute hook, cold prefill installs - one device pool per expert layout, every layer the same number of slots (single layout: unchanged); pool memory is taken at the first lookup, after loading - expert_source / expert_compute options: experts in an external format, read and cached by the store; the forward keeps routing, reads, read-ahead, next-layer guesses and installs, the hook computes - cold_prefill_routes: long calls do not refresh the LRU and their installs move to the cold end - prefill_install_ahead: install the next layer's finished read-ahead behind this layer's compute
Author
Committer
Parents
Loading