Skip to content

[Bug(?)] Training takes much longer when using --cache_latents_to_disk #438

Description

@Linaqruf

Hi! Thanks for implementing --cache_latents_to_disk. It saves a lot of time as we don't need to use prepare_buckets_and_latents.py to save .npz files to disk, but instead we can save them directly when training.

However, I'm encountering a problem when using the --cache_latents_to_disk argument. The training takes longer time (it/s) than using the usual --cache_latents. Is this intended or a bug? Because, I thought that latent caching has its own process that is separate from the training.

Using --cache_latents_to_disk
image

Using --cache_latents
image

config_file.toml : https://dpaste.com/B6AVPNK2K#

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions