mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 20:22:49 +00:00
Initial setup
This commit is contained in:
@ -81,6 +81,7 @@ impl PyDevice {
|
||||
match device {
|
||||
Device::Cpu => Self::Cpu,
|
||||
Device::Cuda(_) => Self::Cuda,
|
||||
Device::Metal(_) => unimplemented!(),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user