Replies: 1 comment 2 replies
-
to achieve best performance, model loading is not a sequential read process - it uses memory-mapped-file to load what it needs, when it needs - which means it needs direct access to safetensors file. what can be done is to store metadata and preview inside model's safetensors file itself, but i'm reluctant to modify model files that users download - that kind of behavior is never considered positive. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have been wondering if it's possible to make an archive that includes the safetensor, the thumbnail image and the metadata txt or json to better organize the chekpoints folder.
The challenge would be to read the zip and load the checkpoint to memory.
Or changing the thumbnail image from SD.next and modifying the archive.
maybe there is a simpler solution, but anyway just want to know if tis possible.
Beta Was this translation helpful? Give feedback.
All reactions