pub struct Qwen4ExpNativeDescriptor {Show 16 fields
pub format: String,
pub architecture: String,
pub source: ExternalGgufAsset,
pub ple: Qwen4ExpPleSpan,
pub ple_storage: Qwen4ExpPleStorage,
pub ple_config: Qwen4ExpPleConfig,
pub trunk_gguf_bytes: u64,
pub n_layer: u32,
pub n_embd: u32,
pub n_head: u32,
pub n_kv_head: u32,
pub full_attention_interval: u32,
pub gated_deltanet_layers: u32,
pub qsa_layers: u32,
pub ple_layers: u32,
pub required_graph_features: Vec<String>,
}Expand description
Cold activation data placed in the .hmc descriptor entry.
Fields§
§format: String§architecture: String§source: ExternalGgufAsset§ple: Qwen4ExpPleSpan§ple_storage: Qwen4ExpPleStorage§ple_config: Qwen4ExpPleConfigExact PLE n-gram hash and per-head row layout from the source GGUF.
trunk_gguf_bytes: u64All model bytes other than the PLE. They remain GGUF until the graph executor has emitted independently valid, sub-4-GiB P64 trunk shards.
n_layer: u32§n_embd: u32§n_head: u32§n_kv_head: u32§full_attention_interval: u32§gated_deltanet_layers: u32§qsa_layers: u32§ple_layers: u32§required_graph_features: Vec<String>Implementations§
Source§impl Qwen4ExpNativeDescriptor
impl Qwen4ExpNativeDescriptor
Sourcepub fn verify_source_metadata(
&self,
source: &Path,
) -> Result<(), Qwen4ExpNativeAssetError>
pub fn verify_source_metadata( &self, source: &Path, ) -> Result<(), Qwen4ExpNativeAssetError>
Fast activation identity check. Full source hashing is deliberately
separate because it reads 90+ GiB; callers use verify_source_sha256
for installation/audit and this check before ordinary activation.
Sourcepub fn verify_source_sha256(
&self,
source: &Path,
) -> Result<(), Qwen4ExpNativeAssetError>
pub fn verify_source_sha256( &self, source: &Path, ) -> Result<(), Qwen4ExpNativeAssetError>
Installation/audit validation: confirm the entire external GGUF’s cryptographic identity before first use or after a file transfer.
Sourcepub fn source_beside(
&self,
package: &Path,
) -> Result<PathBuf, Qwen4ExpNativeAssetError>
pub fn source_beside( &self, package: &Path, ) -> Result<PathBuf, Qwen4ExpNativeAssetError>
Resolve the explicitly attested external source, falling back to the legacy beside-HMC convention for portable, already-audited artifacts.
Trait Implementations§
Source§impl Clone for Qwen4ExpNativeDescriptor
impl Clone for Qwen4ExpNativeDescriptor
Source§impl Debug for Qwen4ExpNativeDescriptor
impl Debug for Qwen4ExpNativeDescriptor
Source§impl<'de> Deserialize<'de> for Qwen4ExpNativeDescriptor
impl<'de> Deserialize<'de> for Qwen4ExpNativeDescriptor
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 Qwen4ExpNativeDescriptor
Source§impl PartialEq for Qwen4ExpNativeDescriptor
impl PartialEq for Qwen4ExpNativeDescriptor
Source§impl Serialize for Qwen4ExpNativeDescriptor
impl Serialize for Qwen4ExpNativeDescriptor
impl StructuralPartialEq for Qwen4ExpNativeDescriptor
Auto Trait Implementations§
impl Freeze for Qwen4ExpNativeDescriptor
impl RefUnwindSafe for Qwen4ExpNativeDescriptor
impl Send for Qwen4ExpNativeDescriptor
impl Sync for Qwen4ExpNativeDescriptor
impl Unpin for Qwen4ExpNativeDescriptor
impl UnsafeUnpin for Qwen4ExpNativeDescriptor
impl UnwindSafe for Qwen4ExpNativeDescriptor
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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 more