Merge pull request #136 from DanaCase/clear_prompt_cache
clear prompt cache for training
This commit is contained in:
commit
552eb6a3bb
@ -62,6 +62,7 @@ class DreamBooth:
|
||||
) # fmt: off
|
||||
image.save(path=training_state.get_current_validation_image_path(training_spec))
|
||||
del image
|
||||
flux.prompt_cache = {}
|
||||
|
||||
# Save checkpoint periodically
|
||||
if training_state.should_save(training_spec):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user