Skip to content

local gradio issues #3

@Manni1000

Description

@Manni1000

these packages are missing in the requirements.txt
pip install h5py
pip install opencv-python

in the gradio_demo.py :
from models.lora import replace_linear_with_lora
shuld be
from models_accessory.lora import replace_linear_with_lora

train_args = torch.load(os.path.join(args.ckpt, "model_args.pth"))
shuld be
train_args = torch.load(os.path.join(args.ckpt, "model_args.pth"), weights_only=False)

also its still using above 24gb vram so i could not test it further. quite surprising because way bigger models like flux work on my pc. maby adding a quantized version would help.
i have tired to add model offloading but the main model still used so much vram that i could not runn it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions