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

Loras not working #32

Open
eyetest42 opened this issue Jul 27, 2023 · 5 comments
Open

Loras not working #32

eyetest42 opened this issue Jul 27, 2023 · 5 comments

Comments

@eyetest42
Copy link

Loras are 100% not working for me at all. is this another camenduru issue?

@zucced
Copy link

zucced commented Jul 27, 2023

for some reason the loras are working fine on nightly but not on stable

@etherealxx
Copy link
Owner

Have you guys tried using additional networks? Do you have any copy/screenshots of the terminal?

@basedholychad
Copy link

yeah the nightly working fine, but the stable line not working,

@zucced
Copy link

zucced commented Jul 28, 2023

Have you guys tried using additional networks? Do you have any copy/screenshots of the terminal?

I actually don't use additional networks for loras, I use on prompt input directly like 'lora:LoraName:1' and here's the error I get:

Total progress: 0it [00:00, ?it/s]locon load lora method loading Lora /content/volatile-concentration-localux/models/Lora/LoraName.safetensors: TypeError Traceback (most recent call last): File "/content/volatile-concentration-localux/extensions/a1111-sd-webui-locon/scripts/../../../extensions-builtin/Lora/lora.py", line 253, in load_loras lora = load_lora(name, lora_on_disk) File "/content/volatile-concentration-localux/extensions/a1111-sd-webui-locon/scripts/main.py", line 366, in load_lora lora.mtime = os.path.getmtime(filename) File "/usr/lib/python3.10/genericpath.py", line 55, in getmtime return os.stat(filename).st_mtime TypeError: stat: path should be string, bytes, os.PathLike or integer, not LoraOnDisk

@maxinzheng
Copy link

maxinzheng commented Jul 30, 2023

me too

Traceback (most recent call last):
  File "/content/volatile-concentration-localux/extensions/a1111-sd-webui-locon/scripts/../../../extensions-builtin/Lora/lora.py", line 253, in load_loras
    lora = load_lora(name, lora_on_disk)
  File "/content/volatile-concentration-localux/extensions/a1111-sd-webui-locon/scripts/main.py", line 366, in load_lora
    lora.mtime = os.path.getmtime(filename)
  File "/usr/lib/python3.10/genericpath.py", line 55, in getmtime
    return os.stat(filename).st_mtime
TypeError: stat: path should be string, bytes, os.PathLike or integer, not LoraOnDisk

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

5 participants