瀏覽代碼

Update finetuning.py

Deleting comment
Jay Caldwell 1 月之前
父節點
當前提交
7e17d897fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/llama_cookbook/finetuning.py

+ 1 - 1
src/llama_cookbook/finetuning.py

@@ -275,7 +275,7 @@ def main(**kwargs):
         elif torch.cuda.is_available():
             device_id = torch.cuda.current_device()
 
-        # This single line robustly sets use_orig_params for both freeze_LLM_only and PEFT (LoRA/QLoRA)
+       
         use_orig_params = train_config.freeze_LLM_only or train_config.use_peft
         
         model = FSDP(