pub enum Command {
InspectTensors {
path: PathBuf,
},
Upload {
repo: String,
token: String,
root: PathBuf,
},
Infer {
gguf: PathBuf,
},
Delete {
model: String,
model_dir: PathBuf,
output: Option<PathBuf>,
},
}Variants§
InspectTensors
Print all tensor names in a local checkpoint file (safetensors, PyTorch pickle, GGUF, or npy/npz — format auto-detected).
Upload
Upload source + GGUF files to HuggingFace Hub.
Infer
Zero-shot classification from a GGUF file (classification only — regression’s bar-distribution head is out of scope, see the crate’s module docs).
NON-COMMERCIAL WEIGHTS LICENSE (TabPFN-3 Non-Commercial License v1.0, Prior Labs GmbH): research, internal benchmarking, and evaluation only — no production, commercial, or hosted-service use without a separate commercial license from Prior Labs.
Convert the checkpoint first with the generic converter (names pass through unchanged,
so there’s no tabpfn convert subcommand):
zsfm convert –repo Prior-Labs/tabpfn_3 –file classifier –format ckpt -o gguf/tabpfn-v3-f32.gguf
Reads a JSON request from stdin: {“x_support”: [[…]], “y_support”: […], “x_query”: [[…]], “n_classes”: N} Outputs JSON: {“task”:“classification”,“probabilities”:[[…]]}.
Delete
Delete cached model files for this model.
Removes the canonical F32 GGUF and config cache at
<model_dir>/<owner>__<name>/ created by convert. By default only
the cache is removed; pass --output <path> to also delete a
converted GGUF file (e.g. gguf/...).
Trait Implementations§
Source§impl FromArgMatches for Command
impl FromArgMatches for Command
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Command
impl Subcommand for Command
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§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> ⓘ
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> ⓘ
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