From 196a33cca47d6d4ef5b935ebe8ec162ef5ab3fb0 Mon Sep 17 00:00:00 2001 From: hiyouga Date: Mon, 25 Mar 2024 23:28:52 +0800 Subject: [PATCH] tiny fix Former-commit-id: 98a42cbdaa4a90dbe5edda1c412c17e628324f52 --- src/llmtuner/hparams/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llmtuner/hparams/parser.py b/src/llmtuner/hparams/parser.py index 778cdca8..8e27f379 100644 --- a/src/llmtuner/hparams/parser.py +++ b/src/llmtuner/hparams/parser.py @@ -130,7 +130,7 @@ def get_train_args(args: Optional[Dict[str, Any]] = None) -> _TRAIN_CLS: if finetuning_args.use_dora: if model_args.quantization_bit is not None: - require_version("peft>=0.9.1.dev0", "To fix: pip install git+https://github.com/huggingface/peft.git") + require_version("peft>=0.10.0", "To fix: pip install peft>=0.10.0") if model_args.use_unsloth: raise ValueError("Unsloth does not support DoRA.")