mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 04:10:46 +00:00
Fixing quantized llama demo on metal. (#1703)
This commit is contained in:
@ -14,6 +14,10 @@ impl QMetalStorage {
|
||||
self.dtype
|
||||
}
|
||||
|
||||
pub fn device(&self) -> &MetalDevice {
|
||||
&self.device
|
||||
}
|
||||
|
||||
pub fn buffer(&self) -> &Buffer {
|
||||
&self.buffer
|
||||
}
|
||||
|
Reference in New Issue
Block a user