Skip to content

Some notes from my first run of the script. #1

@jrittvo

Description

@jrittvo

The script is very cool, especially how it does everything including the folder structure and the zipping!

These are notes about a run without --cn_unet.

  1. If the file name has a . in it besides for the extension, like stable-diff-1.5.ckpt, will the split command still split it at the right place? Does it look for the last . or the first . or does it split at all of them? It would be fine to have a rule when you explain the script to someone that files names can only have a . at the extension, if that helps keep the code simple.

  2. The xxxxx_original_512x512.zip needs to drop the _512x512. If it is not in a subfolder with a size like 512x768, the CoreML repo says that means the model is a default 512x512. The same way a split_einsum model does not get a size in the file name, or a 512x512 subfolder inside of the split-einsum folder.

  3. I think the script should delete working folders as it completes each zip, and delete the xxxx_diffusers folder at the end of everything. To use up less space on the working drive while it is running.

I will do a run with --cn_unet tomorrow night. I think that one will need some minor changes, but I want to actually run it because my code reading skills are not that good.

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