pub fn open_loader_resolved( path: &Path, ) -> Result<(PathBuf, Box<dyn WeightLoader>), Error>
Resolve a file or weights directory, then open the right loader.