pub enum GraphPhase {
Prefill,
Decode,
}Expand description
Which half of the run is asking.
The phase exists because the graph is plausibly two decisions, not one — but on the hardware measured so far it is only ever a decode decision. On an Adreno 642L with bonsai-1.7b, from identical clean starts and two repeats each: decode 11.6 tok/s without it and 0.72 with, while prefill is 4.2 either way. A first reading of 3.4 -> 18.0 for prefill did not survive a controlled re-run — it was a dirty probe cache between configurations, not the graph, and the prefill route through the graph is GDN-only in the first place, which this dense model never takes.
Variants§
Trait Implementations§
Source§impl Clone for GraphPhase
impl Clone for GraphPhase
Source§fn clone(&self) -> GraphPhase
fn clone(&self) -> GraphPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GraphPhase
Source§impl Debug for GraphPhase
impl Debug for GraphPhase
impl Eq for GraphPhase
Source§impl PartialEq for GraphPhase
impl PartialEq for GraphPhase
impl StructuralPartialEq for GraphPhase
Auto Trait Implementations§
impl Freeze for GraphPhase
impl RefUnwindSafe for GraphPhase
impl Send for GraphPhase
impl Sync for GraphPhase
impl Unpin for GraphPhase
impl UnsafeUnpin for GraphPhase
impl UnwindSafe for GraphPhase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more