Change a warning message

This commit is contained in:
oobabooga 2023-05-29 22:39:23 -03:00 committed by GitHub
parent e763ace593
commit 3a6e194bc7
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -234,7 +234,7 @@ def do_train(lora_name: str, always_override: bool, save_steps: int, micro_batch
time.sleep(5)
if shared.args.wbits > 0 and not shared.args.monkey_patch:
yield "LoRA training in 4-bit requires loading with `--monkey-patch`"
yield "LoRA training with GPTQ models requires loading with `--monkey-patch`"
return
elif not shared.args.load_in_8bit and shared.args.wbits <= 0: