mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-10-28 09:45:55 +08:00
convert : fix LoRA conversion with --outtype auto (#30433)
* convert : fix automatic LoRA output type * convert : remove LoRA test and CI changes
This commit is contained in:
1 parent
ed019cd8b9
commit
9d7d504980
1 file changed
+3
@@ -127,6 +127,9 @@ class LoraTorchTensor:
|
||||
assert dim is None
|
||||
return self.shape
|
||||
|
||||
def dim(self) -> int:
|
||||
return len(self.shape)
|
||||
|
||||
def contiguous(self) -> LoraTorchTensor:
|
||||
return LoraTorchTensor(
|
||||
self._lora_A.contiguous(),
|
||||
|
||||
Reference in new issue
Block a user