Update convert-lora-to-ggml.py
Remove white space in line 69.
This commit is contained in:
parent
b5bf694b23
commit
f12f4cec99
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ if __name__ == '__main__':
|
||||||
# lazy import load_file only if lora is in safetensors format.
|
# lazy import load_file only if lora is in safetensors format.
|
||||||
from safetensors.torch import load_file
|
from safetensors.torch import load_file
|
||||||
model = load_file(input_model, device="cpu")
|
model = load_file(input_model, device="cpu")
|
||||||
|
|
||||||
arch_name = sys.argv[2] if len(sys.argv) == 3 else "llama"
|
arch_name = sys.argv[2] if len(sys.argv) == 3 else "llama"
|
||||||
|
|
||||||
if arch_name not in gguf.MODEL_ARCH_NAMES.values():
|
if arch_name not in gguf.MODEL_ARCH_NAMES.values():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue