Browse Source

update due to peft new release

Hamid Shojanazeri 11 tháng trước cách đây
mục cha
commit
f058ff6ccd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/llama_recipes/finetuning.py

+ 1 - 1
src/llama_recipes/finetuning.py

@@ -9,7 +9,7 @@ import fire
 import random
 import torch
 import torch.optim as optim
-from peft import get_peft_model, prepare_model_for_int8_training
+from peft import get_peft_model, prepare_model_for_kbit_training
 from torch.distributed.fsdp import (
     FullyShardedDataParallel as FSDP,
     ShardingStrategy