pub struct NodeReport {
pub addr: String,
pub layers: Range<usize>,
pub device: String,
pub precision: String,
pub build_ms: u64,
pub resident_bytes: u64,
pub n_params: usize,
pub n_packed: usize,
}Expand description
What a worker reports about building + serving its stage (JSON on stdout).
Fields§
§addr: String§layers: Range<usize>§device: String§precision: String§build_ms: u64Time to build the stage graph + load weights (ms).
resident_bytes: u64Resident bytes after build.
n_params: usize§n_packed: usizeTrait Implementations§
Source§impl Clone for NodeReport
impl Clone for NodeReport
Source§fn clone(&self) -> NodeReport
fn clone(&self) -> NodeReport
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 moreSource§impl Debug for NodeReport
impl Debug for NodeReport
Source§impl<'de> Deserialize<'de> for NodeReport
impl<'de> Deserialize<'de> for NodeReport
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
Auto Trait Implementations§
impl Freeze for NodeReport
impl RefUnwindSafe for NodeReport
impl Send for NodeReport
impl Sync for NodeReport
impl Unpin for NodeReport
impl UnsafeUnpin for NodeReport
impl UnwindSafe for NodeReport
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
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<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