Skip to main content

DsparkDev

Struct DsparkDev 

Source
pub struct DsparkDev {
Show 16 fields pub blocks: Vec<LayerDev>, pub main_proj: CudaSlice<u8>, pub main_norm: CudaSlice<f32>, pub norm: CudaSlice<f32>, pub markov_w1: CudaSlice<f32>, pub markov_w2: CudaSlice<f32>, pub markov_w1_host: Vec<f32>, pub conf_w: CudaSlice<f32>, pub hc_head_fn: CudaSlice<f32>, pub hc_head_base: Vec<f32>, pub hc_head_scale: Vec<f32>, pub block_size: usize, pub noise_token: u32, pub targets: Vec<usize>, pub rank: usize, pub vocab: usize,
}
Expand description

DSpark drafter on the LAST stage (iteration 3; semantics DSPARK-SEMANTICS.md, numeric truth = the lane-10 CPU oracle memra_gguf::dsv4_dspark). Loaded only under MEMRA_DSV4_DRAFTER=dspark (≈10.7 GiB resident on dev1 — VRAM plan in the iteration-3 receipts); config census pins ride the oracle’s own DsparkConfig::load (refuse-on-drift, NextN refusal included).

Fields§

§blocks: Vec<LayerDev>

mtp.0..2 — layer ids n_trunk+k, ratio 0 (window-only), score-routed MXFP4.

§main_proj: CudaSlice<u8>§main_norm: CudaSlice<f32>§norm: CudaSlice<f32>§markov_w1: CudaSlice<f32>

markov factors held f32 at runtime (M:795-804 reference convention); the bias GEMV runs the f32-island dots kernel (f64 accumulation, oracle class).

§markov_w2: CudaSlice<f32>§markov_w1_host: Vec<f32>§conf_w: CudaSlice<f32>§hc_head_fn: CudaSlice<f32>§hc_head_base: Vec<f32>§hc_head_scale: Vec<f32>§block_size: usize§noise_token: u32§targets: Vec<usize>§rank: usize§vocab: usize

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.