Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image generation does not work with every LyCORIS (I tested) #143

Open
Temder opened this issue May 1, 2024 · 1 comment
Open

Image generation does not work with every LyCORIS (I tested) #143

Temder opened this issue May 1, 2024 · 1 comment

Comments

@Temder
Copy link

Temder commented May 1, 2024

Every time I add a LyCORIS to a model and click on the generation button I get this error:
grafik

This is the full log:
grafik

Am I doing something wrong?

@RocketSmash9000
Copy link

RocketSmash9000 commented Nov 9, 2024

I am getting a similar error, though it happens with loras and lycoris.

Traceback (most recent call last):
  File "enfugue\diffusion\process.py", line 199, in run

    response["result"] = self.handle(instruction_id, instruction_action, instruction_payload)

  File "enfugue\diffusion\process.py", line 260, in handle

    return self.execute_diffusion_plan(

  File "enfugue\diffusion\process.py", line 304, in execute_diffusion_plan

    return plan.execute(

  File "enfugue\diffusion\invocation\layers.py", line 1496, in execute

    images, nsfw = self.execute_inference(

  File "enfugue\diffusion\invocation\layers.py", line 1726, in execute_inference

    result = pipeline(

  File "enfugue\diffusion\manager.py", line 5400, in __call__

    pipe = self.pipeline # type: ignore

  File "enfugue\diffusion\manager.py", line 3443, in pipeline

    pipeline.load_lora_weights(lora, multiplier=weight)

  File "enfugue\diffusion\pipeline.py", line 1269, in load_lora_weights

    return self.load_flexible_lora_weights(

  File "enfugue\diffusion\pipeline.py", line 1363, in load_flexible_lora_weights

    state_dict = load_state_dict(pretrained_model_name_or_path_or_dict) # type: ignore[arg-type]

  File "enfugue\diffusion\util\torch_util\model_util.py", line 53, in load_state_dict

    raise IOError(f"Recevied exception reading checkpoint {path}, please ensure file integrity.\n{type(first_error).__name__}: {first_error}")

OSError: Recevied exception reading checkpoint C:\Users\*user*\.cache\enfugue\lora\*nameOfLora*.safetensors, please ensure file integrity.

SafetensorError: Error while deserializing header: HeaderTooLarge

What is even weirder is that I could previously run loras perfectly. Now it doesn't want to run anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants