pub type DFlashSession<'ctx, 'target_model, 'draft_model> = Eagle3Session<'ctx, 'target_model, 'draft_model>;Expand description
A DFlash draft session.
An alias for Eagle3Session, which implements both backends: from the
shim’s perspective DFlash and EAGLE-3 are the same protocol — a separate
draft model behind a Default context — so only construction differs.
Build one with Eagle3Session::new_dflash or
Eagle3Session::new_dflash_with_config.
DFlash2 checkpoints are detected from GGUF metadata and need no extra
flag or build feature — upstream merged PR #27342 in b10658, so the
vendored llama.cpp recognises them out of the box.
Aliased Type§
pub struct DFlashSession<'ctx, 'target_model, 'draft_model> { /* private fields */ }