mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 11:37:11 +00:00
Fix flaky test ?
This commit is contained in:
@ -522,7 +522,7 @@ impl Api {
|
|||||||
let tmp_filename = self
|
let tmp_filename = self
|
||||||
.download_tempfile(&url, metadata.size, progressbar)
|
.download_tempfile(&url, metadata.size, progressbar)
|
||||||
.await?;
|
.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);
|
let mut pointer_path = self.cache.pointer_path(repo, &metadata.commit_hash);
|
||||||
pointer_path.push(filename);
|
pointer_path.push(filename);
|
||||||
|
Reference in New Issue
Block a user