leejet

Results 87 comments of leejet

@JohnClaw Support for SD2.x has been added, and you can try it out by pulling the latest code, converting the model file, and rebuilding the executable. Here is an example...

I have fixed the problem. You can pull the latest code and rebuild the executable. ``` ./bin/sd -m ../models/stable-diffusion-nano-2-1-ggml-model-f32.bin -t 8 --steps 10 --height 128 --width 128 --seed -1 -p...

It should be fixed by now. You can pull the latest code and rebuild the executable.

> [WARN] stable-diffusion.cpp:2991 - unknown tensor 'cond_stage_model.model.transformer.text_model.embeddings.position_ids' in model file Don't worry, this won't have any effect on image generation, you can just ignore it

This is because the model was converted using the older models/convert.py, which did not support SD2.x at the time. You can use the latest [models/convert.py](https://github.com/leejet/stable-diffusion.cpp/tree/master/models) for the conversion. https://huggingface.co/NikolayKozloff/stable-diffusion-nano-2-1-ckpt/resolve/main/stable-diffusion-nano-2-1.ckpt

What was the original model you used before the conversion? I used the latest conversion script to convert this model (https://huggingface.co/NikolayKozloff/stable-diffusion-nano-2-1-ckpt/resolve/main/stable-diffusion-nano-2-1.ckpt), and I didn't encounter this issue. By the way,...

That's a good idea, but I don't think this is a very important feature, or maybe I'll add it later.

It's a bit weird. I used the same model and parameters, but I couldn't reproduce your issue. Could you please provide me with information about your environment? This should include...

Thank you for the feedback. I'm currently focusing on making it run faster, and I'll make time to take a look at this project and see if I can offer...

Could you please provide me with information about your environment? This should include your CPU architecture, operating system, and the compilation parameters for sd.cpp. Or you can use the '-v'...