From 9d7d5049804be03fce6575cc9f49c058b3c48788 Mon Sep 17 00:00:00 2001 From: Chanho Lee Date: Tue, 13 Oct 2026 17:29:09 +0900 Subject: [PATCH] convert : fix LoRA conversion with --outtype auto (#30433) * convert : fix automatic LoRA output type * convert : remove LoRA test and CI changes --- convert_lora_to_gguf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/convert_lora_to_gguf.py b/convert_lora_to_gguf.py index 47c09af53..f9adecbb1 100755 --- a/convert_lora_to_gguf.py +++ b/convert_lora_to_gguf.py @@ -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(),