Skip to content

Commit d98c7d9

Browse files
authored
fix assert
1 parent 8009403 commit d98c7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4574,7 +4574,7 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter
45744574
return []
45754575

45764576
num_loras = data_torch.size(0)
4577-
assert num_loras == len(self._lora_files)
4577+
assert num_loras == len(self._lora_names)
45784578

45794579
# Split out each LoRA in their own GGUF
45804580
for i, lora_writer in enumerate(self._lora_files.values()):

0 commit comments

Comments
 (0)