Open jdahlstrom opened 1 year ago
I am trying to implement safetensors support, but my general lack of knowledge about the burn-library and the layer nomenclature in the sdxl model make it very difficult to progress. The CLIP/OpenCLIP part might already be "done". It is hard to test, because the model that I have has uses the OpenCLIP/ViT-bigG-14 model instead of the ViT-G-14 model that is referenced in the README. One of my main struggle is to get the tensor weights into the burn-nodes. I feel like I am missing something very obvious, but right now I am switching between
Any insight about the burn library or the sdxl layers from the sdxl1.0 layer names (which if downloaded from https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0), will be greatly appreciated.
The third-party SD ecosystem has mostly shifted to the
safetensors
format for distributing models, as the Pythonpickle
format allows for arbitrary code execution on deserialization. Safetensors is safe, and easy and fast to load as well.