pub struct Prepared {
pub data_path: Option<PathBuf>,
pub libtorch: Option<(PathBuf, String)>,
pub bin: Option<Built>,
pub args: Option<Vec<String>>,
pub run_id: Option<String>,
}Expand description
What preparation settled, for the join that follows.
Fields§
§data_path: Option<PathBuf>Local dataset source root to hand this host’s ranks. None when
the box declares no data path — the training binary then keeps
its own default, which is what a run that never mentions data
expects.
libtorch: Option<(PathBuf, String)>The libtorch this box will train against: (variant directory, variant label). Acquired when a spec asked for one, otherwise
whatever was already active here. One field rather than two
because the answer has one authority: the build links against it
and the ranks load from it.
bin: Option<Built>The training binary this box built, and the directory it expects
as cwd. None when the operator named a binary instead of a
source.
args: Option<Vec<String>>The run’s arguments, when a controller published them. They replace whatever this box carried: args must match the run, because rank children re-enter the binary with them.
run_id: Option<String>The published run’s identity nonce, when the manifest carries
one. Rides the join hello so the window can refuse a cohort
straddling a publish boundary; None gates nothing.
Trait Implementations§
impl Eq for Prepared
impl StructuralPartialEq for Prepared
Auto Trait Implementations§
impl Freeze for Prepared
impl RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Prepared
impl Unpin for Prepared
impl UnsafeUnpin for Prepared
impl UnwindSafe for Prepared
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
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
key and return true if they are equal.