Commands

Enum Commands 

Source
pub(crate) enum Commands {
Show 33 variants Init { name: String, }, Run { script: String, args: Vec<String>, }, Watch, Doctor, Gpu(GpuCommands), Bench(BenchCommands), Debug(DebugCommands), Exp(ExpCommands), Log { id: Option<String>, follow: bool, grep: Option<String>, }, Data(DataCommands), Model(ModelCommands), Serve(ServeCommands), Hub(HubCommands), Job(JobCommands), Cluster(ClusterCommands), Env(EnvCommands), Power(PowerCommands), Optimize(OptimizeCommands), Autopilot(AutopilotCommands), Cloud(CloudCommands), Marketplace(MarketplaceCommands), Tune(TuneCommands), Migrate(MigrateCommands), Profile(ProfileCommands), Secure(SecureCommands), Fleet(FleetCommands), Audit(AuditCommands), Onboard(OnboardCommands), Pqc(PqcCommands), Cost(CostCommands), Notebook(NotebookCommands), Query { query: String, }, Install { tool: String, },
}

Variants§

§

Init

Initialize a new ML project

Fields

§name: String
§

Run

Run a training script with automatic telemetry and experiment tracking

Fields

§script: String
§args: Vec<String>
§

Watch

Live dashboard — GPU utilization, training metrics, eBPF telemetry

§

Doctor

Diagnose environment issues

§

Gpu(GpuCommands)

GPU management — top, mem, kill, lock, health

§

Bench(BenchCommands)

ML benchmark suite — gpu, nccl, dataloader, memory, e2e

§

Debug(DebugCommands)

ML training debugger — why-slow, oom, nan, hang

§

Exp(ExpCommands)

Experiment tracking

§

Log

Show training logs

Fields

§follow: bool
§

Data(DataCommands)

Dataset management — profile, split, cache, shard

§

Model(ModelCommands)

Model registry

§

Serve(ServeCommands)

Unified inference server — start, stop, benchmark

§

Hub(HubCommands)

Private model & dataset hub

§

Job(JobCommands)

Distributed job management

§

Cluster(ClusterCommands)

GPU cluster management — add, status, sync, run, drain

§

Env(EnvCommands)

Environment management — snapshot, diff, reproduce, export

§

Power(PowerCommands)

Smart GPU power management & energy tracking

§

Optimize(OptimizeCommands)

Training optimizations — precision, memory, checkpoints, NUMA

§

Autopilot(AutopilotCommands)

Autonomous training optimizer — monitors and fixes problems automatically

§

Cloud(CloudCommands)

GPU cloud management — launch, manage, destroy clusters

§

Marketplace(MarketplaceCommands)

Model marketplace — publish, browse, download, deploy

§

Tune(TuneCommands)

Adaptive kernel parameter tuning based on hardware

§

Migrate(MigrateCommands)

Live job migration between GPUs

§

Profile(ProfileCommands)

Full training pipeline profiler with waterfall

§

Secure(SecureCommands)

System hardening for production ML

§

Fleet(FleetCommands)

GPU fleet management — cost attribution, idle detection, capacity planning

§

Audit(AuditCommands)

Compliance audit trail — lineage, provenance, HIPAA/SOC2 exports

§

Onboard(OnboardCommands)

Developer onboarding — one-command setup, env sync, sharing

§

Pqc(PqcCommands)

Post-Quantum Cryptography — sign, verify, encrypt, decrypt

§

Cost(CostCommands)

GPU cost tracking — summary, budget, report

§

Notebook(NotebookCommands)

Jupyter notebook management

§

Query

Query experiments, jobs, models with ZQL

Fields

§query: String
§

Install

Install ML tools (pytorch, ollama, jupyter, etc.)

Fields

§tool: String

Trait Implementations§

Source§

impl FromArgMatches for Commands

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Subcommand for Commands

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self via [FromArgMatches::from_arg_matches_mut] Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate self via [FromArgMatches::update_from_arg_matches_mut] Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
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.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more