feat: do not download ctranslate2 files in downloader

release-notes-05
Meng Zhang 2023-10-28 02:27:09 -07:00
parent 444222683a
commit 43cc5f38cc
1 changed files with 1 additions and 6 deletions

View File

@ -19,14 +19,9 @@ pub async fn main(args: &DownloadArgs) {
let downloader = Downloader::new(&args.model, args.prefer_local_file);
downloader
.download_ctranslate2_files()
.download_ggml_files()
.await
.unwrap_or_else(|err| fatal!("Failed to fetch model '{}' due to '{}'", args.model, err));
downloader
.download_ggml_files()
.await
.unwrap_or_else(|err| warn!("Failed to fetch model '{}' due to '{}'", args.model, err));
info!("model '{}' is ready", args.model);
}