Skip to content

Error while loading weight #8

Description

@juniofaathir

I got this error while loading the models

[INFO]  stable-diffusion.cpp:2500 - loading model from '/path/to/models/meichidarkMix_meichidarkV4-ggml-model-q4_0.bin'
[DEBUG] stable-diffusion.cpp:2508 - verifying magic
[DEBUG] stable-diffusion.cpp:2519 - loading hparams
[INFO]  stable-diffusion.cpp:2525 - ftype: q4_0
[DEBUG] stable-diffusion.cpp:2531 - loading vocab
[DEBUG] stable-diffusion.cpp:2569 - ggml tensor size = 240 bytes
[INFO]  stable-diffusion.cpp:2570 - params ctx size =  1431.33 MB
[DEBUG] stable-diffusion.cpp:2587 - preparing memory for the weights
[DEBUG] stable-diffusion.cpp:2602 - loading weights
[WARN]  stable-diffusion.cpp:2650 - unknown tensor 'control_model.input_blocks.0.0.bias' in model file
[WARN]  stable-diffusion.cpp:2650 - unknown tensor 'control_model.input_blocks.0.0.weight' in model file
[WARN]  stable-diffusion.cpp:2650 - unknown tensor 'control_model.input_blocks.1.0.emb_layers.1.bias' in model file
[WARN]  stable-diffusion.cpp:2650 - unknown tensor 'control_model.input_blocks.1.0.emb_layers.1.weight' in model file
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_create
Aborted (core dumped)

I'm using Intel i5-8250U laptop with Ubuntu, RAM 12GB
Am I doing wrong while converting and quantizing the model or... ?

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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