pub struct Tuner {
pub manifest: Manifest,
pub workdir: PathBuf,
pub store: Store,
pub backend: Backend,
/* private fields */
}Expand description
Aggregated metrics container produced by the tuner.
Fields§
§manifest: Manifest§workdir: PathBuf§store: Store§backend: BackendImplementations§
Source§impl Tuner
impl Tuner
Sourcepub fn new(manifest: Manifest, workdir: impl Into<PathBuf>) -> Tuner
pub fn new(manifest: Manifest, workdir: impl Into<PathBuf>) -> Tuner
Create a tuner that runs on the local, in-process reference harness.
Sourcepub fn with_backend(
manifest: Manifest,
workdir: impl Into<PathBuf>,
backend: Backend,
) -> Tuner
pub fn with_backend( manifest: Manifest, workdir: impl Into<PathBuf>, backend: Backend, ) -> Tuner
Create a tuner for a specific backend. devbox/cluster delegate trials
to the Python worker (which may lift them to real Flyte tasks); local
keeps the deterministic offline reference harness.
Sourcepub fn load_packs(&mut self) -> Vec<Task>
pub fn load_packs(&mut self) -> Vec<Task>
Load the manifest’s task packs and return the search-split tasks.
Sourcepub fn enumerate_stacks(&self) -> Vec<Stack>
pub fn enumerate_stacks(&self) -> Vec<Stack>
Cartesian product over the manifest’s candidate axes.
Auto Trait Implementations§
impl !RefUnwindSafe for Tuner
impl !Send for Tuner
impl !Sync for Tuner
impl !UnwindSafe for Tuner
impl Freeze for Tuner
impl Unpin for Tuner
impl UnsafeUnpin for Tuner
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