diff --git a/finetune.py b/finetune.py index a74a258..b3c35ca 100644 --- a/finetune.py +++ b/finetune.py @@ -302,7 +302,7 @@ def train(): config=config, cache_dir=training_args.cache_dir, device_map=device_map, - low_cpu_mem_usage=True if training_args.use_lora and not lora_args.q_lora, + low_cpu_mem_usage=True if training_args.use_lora and not lora_args.q_lora else False, trust_remote_code=True, quantization_config=GPTQConfig( bits=4, disable_exllama=True