pub fn resolve_local(file: &WeightFile) -> Option<PathBuf>Expand description
Find an already-present copy of file on disk without downloading, honoring the
$QSM_MODEL_DIR override first, then the cache. Returns None if absent. Native only;
does not see bytes supplied with provide_weights (see weight_file_present).
This is std-only and works even without the download feature, so a host
can supply bring-your-own-weights for pending or gated models.