Skip to main content

Crate modelfit

Crate modelfit 

Source
Expand description

Library API for embedding modelfit: run recommend::recommend(&hwprobe::detect(), &catalog). The CLI in main.rs is a thin wrapper over this.

Modules§

catalog
Catalogue schema + loading. The catalogue is data, the logic is code: editorial judgement (which models, what quality ordering, which launch flags) lives in models.json; physics lives in recommend.rs.
get
modelfit get: download the recommended (or named) catalogue model from Hugging Face. Filenames are discovered from the HF API at download time — never guessed or stored. After a successful download the launch command is printed with the real path.
recommend
The opinions: budget from measured hardware, then quality x physics.