peft icon indicating copy to clipboard operation
peft copied to clipboard

How to convert the generated model (.pt file) to safetensors

Open THULiusj opened this issue 1 year ago • 2 comments

I'm testing train dreambooth with lora, the generated model is in .pt format, also with a json config file. If I want to add this lora model to Automatic1111 WebUI. How to make it run? How to convert the model to safetensors format?

THULiusj avatar Mar 23 '23 13:03 THULiusj

Anyone can help me? The .pt file and config .json file are generated after I run the train_dreambooth.py script.

THULiusj avatar Mar 27 '23 17:03 THULiusj

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

github-actions[bot] avatar Apr 22 '23 15:04 github-actions[bot]