mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 11:56:45 +00:00
Llama quantization. (#625)
This commit is contained in:
@ -202,6 +202,10 @@ impl QTensor {
|
||||
self.data.dtype()
|
||||
}
|
||||
|
||||
pub fn rank(&self) -> usize {
|
||||
self.shape.rank()
|
||||
}
|
||||
|
||||
pub fn shape(&self) -> &Shape {
|
||||
&self.shape
|
||||
}
|
||||
|
Reference in New Issue
Block a user