mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 19:58:35 +00:00
Async tensor copying. (#1900)
This commit is contained in:
@ -1867,6 +1867,10 @@ impl BackendDevice for MetalDevice {
|
||||
))
|
||||
}
|
||||
|
||||
fn storage_from_cpu_storage_owned(&self, storage: CpuStorage) -> Result<Self::Storage> {
|
||||
self.storage_from_cpu_storage(&storage)
|
||||
}
|
||||
|
||||
fn rand_uniform(
|
||||
&self,
|
||||
shape: &Shape,
|
||||
|
Reference in New Issue
Block a user