Skip to content

[Bug]: Lora cannot be loaded in API mode #7984

@GGBond8488

Description

@GGBond8488

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

when I run webui --api to start a simple api only server, and I post a http request ,it show

Skipping unknown extra network: lora
100%|████████████████████████████████████████████████████████████████████████████████████████████| 40/40 [00:11<00:00, 3.39it/s]
INFO: 127.0.0.1:38420 - "POST /sdapi/v1/txt2img HTTP/1.1" 200 OK
INFO: 127.0.0.1:38647 - "POST /sdapi/v1/png-info HTTP/1.1" 200 OK

And I check the web.py, It seems that lora is not registered,for some reason I can't access the web page, so I don't konw if lora works

Steps to reproduce the problem

  1. download release package
  2. download diffusion and lora checkpoint file
  3. run webui.sh to prepare env
  4. exec ./webui.sh --nowebapi
  5. and it occurs

What should have happened?

Skipping unknown extra network: lora shouldn't happen

Commit where the problem happens

release v1.0.0-pre

What platforms do you use to access the UI ?

No response

What browsers do you use to access the UI ?

No response

Command Line Arguments

./webui.sh --nowebui

List of extensions

No

Console logs

Skipping unknown extra network: lora
100%|████████████████████████████████████████████████████████████████████████████████████████████| 40/40 [00:10<00:00,  3.68it/s]
INFO:     127.0.0.1:39473 - "POST /sdapi/v1/txt2img HTTP/1.1" 200 OK
INFO:     127.0.0.1:39758 - "POST /sdapi/v1/png-info HTTP/1.1" 200 OK

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReport of a confirmed bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions