pub fn download_model(
model: &str,
token: &str,
site: Option<&str>,
) -> Result<PathBuf, DownloadError>Expand description
Download model from the regional public hub into
~/.ariacompute/models/{model}, then return that directory.
If a valid bundle already exists at the cache path, the download is skipped.
Hub auth: explicit hf_token / modelscope_api_token, then generic token,
then ~/.ariacompute/engine.yml (same keys as aria-engine setup).
Dashboard sk- / sk-bf- keys are not sent to the hub.