Skip to content

Support Segmind Stable Diffusion 1B #158

@jiaowobaba02

Description

@jiaowobaba02

I was recently about to run this model through stable-diffusion.cpp, but I found that it ran with a lot of errors, so I suspected that it was a problem with the model, so I tried the original model , but I found that it still doesn't run and reports the following errors:

[INFO ] stable-diffusion.cpp:137  - loading model from '/media/user/6AF00DA6F00D7A19/image/SSD-1B.safetensors'
[INFO ] model.cpp:641  - load /media/user/6AF00DA6F00D7A19/image/SSD-1B.safetensors using safetensors format
[INFO ] stable-diffusion.cpp:163  - Stable Diffusion XL 
[INFO ] stable-diffusion.cpp:169  - Stable Diffusion weight type: f16
[WARN ] model.cpp:1405 - unknown tensor 'cond_stage_model.1.model.text_model.embeddings.position_ids' in model file
[WARN ] model.cpp:1405 - unknown tensor 'cond_stage_model.1.model.text_projection.weight' in model file
[ERROR] model.cpp:1450 - tensor 'cond_stage_model.1.transformer.text_model.text_projection' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn1.to_k.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn1.to_out.0.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn1.to_out.0.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn1.to_q.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn1.to_v.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn2.to_k.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn2.to_out.0.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn2.to_out.0.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn2.to_q.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.attn2.to_v.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.ff.net.0.proj.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.ff.net.0.proj.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.ff.net.2.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.ff.net.2.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.norm1.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.norm1.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.norm2.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.norm2.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.norm3.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.4.norm3.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn1.to_k.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn1.to_out.0.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn1.to_out.0.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn1.to_q.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn1.to_v.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn2.to_k.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn2.to_out.0.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn2.to_out.0.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn2.to_q.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.attn2.to_v.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.ff.net.0.proj.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.ff.net.0.proj.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.ff.net.2.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.ff.net.2.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.norm1.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.norm1.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.norm2.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.norm2.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.norm3.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.5.norm3.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn1.to_k.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn1.to_out.0.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn1.to_out.0.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn1.to_q.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn1.to_v.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn2.to_k.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn2.to_out.0.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn2.to_out.0.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn2.to_q.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.attn2.to_v.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.ff.net.0.proj.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.ff.net.0.proj.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.ff.net.2.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.ff.net.2.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.norm1.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.norm1.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.norm2.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.norm2.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.norm3.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.6.norm3.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.7.attn1.to_k.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.7.attn1.to_out.0.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.7.attn1.to_out.0.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.7.attn1.to_q.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.7.attn1.to_v.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.7.attn2.to_k.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.7.attn2.to_out.0.bias' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.7.attn2.to_out.0.weight' not in model file
[ERROR] model.cpp:1450 - tensor 'model.diffusion_model.input_blocks.7.1.transformer_blocks.7.attn2.to_q.weight' not in model file
......

I won't show it here because of the many errors reported, you can try it yourselves, and finally, thank you for checking out this Issue!

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