Skip to content

Commit

Permalink
docs(Models): add saving checkpoints (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaoses-Ib committed Dec 15, 2024
1 parent f780359 commit 87faf3d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/Models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ model, clip, vae = CivitAICheckpointLoader('https://civitai.com/models/101055?mo
model, clip, vae = CivitAICheckpointLoader('https://civitai.com/models/101055/sd-xl?modelVersionId=128078')
```

### Saving checkpoints
The `CheckpointSave` node can be used to save a checkpoint.

For example:
```python
with Workflow():
model, clip, vae = CheckpointLoaderSimple('v1-5-pruned-emaonly.ckpt')
CheckpointSave(model, clip, vae, 'checkpoints/new-model')
```
The checkpoint will be saved to the output directory, e.g. `D:\ComfyUI\output\checkpoints\new-model_00001_.safetensors`.

## LoRA
### [CivitAI](https://github.com/Chaoses-Ib/civitai_comfy_nodes)
```python
Expand Down

0 comments on commit 87faf3d

Please sign in to comment.