Update convert-lora-to-ggml.py

Remove white space in line 69.
This commit is contained in:
kuronekosaiko 2024-01-22 00:20:35 +08:00 committed by GitHub
parent b5bf694b23
commit f12f4cec99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,7 @@ if __name__ == '__main__':
# lazy import load_file only if lora is in safetensors format.
from safetensors.torch import load_file
model = load_file(input_model, device="cpu")
arch_name = sys.argv[2] if len(sys.argv) == 3 else "llama"
if arch_name not in gguf.MODEL_ARCH_NAMES.values():