pub struct RemotePrefill {
pub rid: String,
pub bootstrap_token: i32,
pub cached_tokens: i64,
pub bootstrap_logprob: Option<f64>,
pub spec_candidate_ids: Option<Vec<i32>>,
pub request_pool_index: i32,
}Expand description
A D-role request whose KV landed.
Fields§
§rid: StringThe request.
bootstrap_token: i32The prefill node’s first token: a landing without one is a failed transfer, as the request’s first decode feeds on it.
cached_tokens: i64Prompt tokens the prefill node served from its cache.
bootstrap_logprob: Option<f64>The first token’s logprob, if the prefill node sent one.
spec_candidate_ids: Option<Vec<i32>>The prefill node’s drafter candidates, if any.
request_pool_index: i32The request’s slot here.
Trait Implementations§
Source§impl Clone for RemotePrefill
impl Clone for RemotePrefill
Source§impl Debug for RemotePrefill
impl Debug for RemotePrefill
Source§impl PartialEq for RemotePrefill
impl PartialEq for RemotePrefill
impl StructuralPartialEq for RemotePrefill
Auto Trait Implementations§
impl Freeze for RemotePrefill
impl RefUnwindSafe for RemotePrefill
impl Send for RemotePrefill
impl Sync for RemotePrefill
impl Unpin for RemotePrefill
impl UnsafeUnpin for RemotePrefill
impl UnwindSafe for RemotePrefill
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