Closed 1196228233 closed 3 months ago
PaddleMIX/ppdiffusers/examples/dreambooth/train_dreambooth_lora_sdxl.py:1643 会引起 memory error,建议添加代码:
PaddleMIX/ppdiffusers/examples/dreambooth/train_dreambooth_lora_sdxl.py:1643
del model gc.collect()
修改后:
for i, model in enumerate(models): weights.append(get_state_dict(model)) del model gc.collect()
PaddleMIX/ppdiffusers/examples/dreambooth/README_sdxl.md中lora训练示例代码应该删除--report_to="wandb" \,避免报错。
PaddleMIX/ppdiffusers/examples/dreambooth/README_sdxl.md
--report_to="wandb" \
问题一:
PaddleMIX/ppdiffusers/examples/dreambooth/train_dreambooth_lora_sdxl.py:1643
会引起 memory error,建议添加代码:修改后:
问题二:
PaddleMIX/ppdiffusers/examples/dreambooth/README_sdxl.md
中lora训练示例代码应该删除--report_to="wandb" \
,避免报错。