mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Fix flaky test ?
This commit is contained in:
@ -522,7 +522,7 @@ impl Api {
|
||||
let tmp_filename = self
|
||||
.download_tempfile(&url, metadata.size, progressbar)
|
||||
.await?;
|
||||
std::fs::copy(tmp_filename, &blob_path)?;
|
||||
tokio::fs::copy(tmp_filename, &blob_path).await?;
|
||||
|
||||
let mut pointer_path = self.cache.pointer_path(repo, &metadata.commit_hash);
|
||||
pointer_path.push(filename);
|
||||
|
Reference in New Issue
Block a user