Open bolongliu opened 1 year ago
将 model = PeftModel.from_pretrained(model, "./output/") 改为: model = PeftModel.from_pretrained(model, "./output/", device_map={'':0})
将 model = PeftModel.from_pretrained(model, "./output/") 改为: model = PeftModel.from_pretrained(model, "./output/", device_map={'':0})