pub struct LaneConfig {
pub n_ctx_slot: Option<u32>,
pub kv_type: Option<String>,
pub fa: Option<bool>,
pub n_batch: Option<u32>,
}Expand description
The comparator lane’s configuration, as it enters the PP-22 join key.
Every field is Option because a lane that did not report one has not
reported one — and None does not match Some(x) in
JoinKey::refuse_mismatch, so an unreported field refuses the join
rather than acting as a wildcard.
Fields§
§n_ctx_slot: Option<u32>-c per slot on the comparator; props.n_ctx / props.total_slots.
kv_type: Option<String>KV cache type, e.g. f16.
fa: Option<bool>Flash attention.
n_batch: Option<u32>-b. Some(1) is refused by the join key (§5.3).
Trait Implementations§
Source§impl Clone for LaneConfig
impl Clone for LaneConfig
Source§impl Debug for LaneConfig
impl Debug for LaneConfig
Source§impl Default for LaneConfig
impl Default for LaneConfig
Source§impl<'de> Deserialize<'de> for LaneConfig
impl<'de> Deserialize<'de> for LaneConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LaneConfig
Source§impl PartialEq for LaneConfig
impl PartialEq for LaneConfig
Source§impl Serialize for LaneConfig
impl Serialize for LaneConfig
impl StructuralPartialEq for LaneConfig
Auto Trait Implementations§
impl Freeze for LaneConfig
impl RefUnwindSafe for LaneConfig
impl Send for LaneConfig
impl Sync for LaneConfig
impl Unpin for LaneConfig
impl UnsafeUnpin for LaneConfig
impl UnwindSafe for LaneConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().