mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-11-06 02:42:15 +08:00
update parser
Former-commit-id: 5262c8702382ff8bc36a172387bc4c8949f326ea
This commit is contained in:
parent
1b48a6c4f8
commit
8dfe34e307
@ -218,7 +218,7 @@ def get_train_args(args: Optional[Dict[str, Any]] = None) -> _TRAIN_CLS:
|
|||||||
raise ValueError("Cannot use device map for quantized models in training.")
|
raise ValueError("Cannot use device map for quantized models in training.")
|
||||||
|
|
||||||
if finetuning_args.pissa_init and is_deepspeed_zero3_enabled():
|
if finetuning_args.pissa_init and is_deepspeed_zero3_enabled():
|
||||||
raise ValueError("PiSSA is incompatible with DeepSpeed ZeRO-3.")
|
raise ValueError("Please use scripts/pissa_init.py to initialize PiSSA in DeepSpeed ZeRO-3.")
|
||||||
|
|
||||||
if finetuning_args.pure_bf16:
|
if finetuning_args.pure_bf16:
|
||||||
if not is_torch_bf16_gpu_available():
|
if not is_torch_bf16_gpu_available():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user