mstar.engine.resources.attn.flashinfer#
Paged attention through FlashInfer’s prefill/decode wrappers.
Classes
|
- class mstar.engine.resources.attn.flashinfer.FlashInferManager(kv_cache, device, dtype, kv_config, backend='auto')[source]#
Bases:
AttentionManager- plan(step, ctx)[source]#
ret is immutable and opaque to runner; only gives to ctx.plan_results
- Parameters:
step (AttentionStep)
ctx (StepContext)
Select last token of the hidden vector per request, used for sampling from prefill.
- property supports_preplan#