Skip to content

Commit 542658c

Browse files
committed
update parser
Former-commit-id: 8f69950
1 parent f5cfea5 commit 542658c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llamafactory/hparams/parser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def get_train_args(args: Optional[Dict[str, Any]] = None) -> _TRAIN_CLS:
218218
raise ValueError("Cannot use device map for quantized models in training.")
219219

220220
if finetuning_args.pissa_init and is_deepspeed_zero3_enabled():
221-
raise ValueError("PiSSA is incompatible with DeepSpeed ZeRO-3.")
221+
raise ValueError("Please use scripts/pissa_init.py to initialize PiSSA in DeepSpeed ZeRO-3.")
222222

223223
if finetuning_args.pure_bf16:
224224
if not is_torch_bf16_gpu_available():

0 commit comments

Comments
 (0)