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

[Bug]: looks like SwinIR is broken after one of the recent updates #6395

Open
1 task done
lashmanRB opened this issue Jan 6, 2023 · 7 comments
Open
1 task done
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@lashmanRB
Copy link

Is there an existing issue for this?

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

What happened?

whenever trying to use SwinIR to upscale anything i'm getting this error:

AttributeError: module 'modules.devices' has no attribute 'device_swinir'

Steps to reproduce the problem

just try upscaling anything in img2img

What should have happened?

it should have worked, like it did before

Commit where the problem happens

310b71f

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

--api --medvram --xformers

Additional information, context and logs

No response

@lashmanRB lashmanRB added the bug-report Report of a bug, yet to be confirmed label Jan 6, 2023
@lashmanRB
Copy link
Author

still completely broken :(

@Clorix1
Copy link

Clorix1 commented Jan 16, 2023

I'm getting the same error. I just updated my SD install today for the first time in a couple weeks. It worked before the update.

@lashmanRB
Copy link
Author

yeah, i'm still getting that error, still completely broken for me :(

@sharp-trickster
Copy link

same for me

@Clorix1
Copy link

Clorix1 commented Jan 23, 2023

I wasn't able to fix it within my old SD install, but downloading a fresh version of the project made it work again. I was able to then move over various bits from my old install and everything still works as it should. I moved over my previous outputs, styles and SD checkpoints. Everything else I'll just redownload as needed.

I'm sure updating it over the past several months caused conflicts and compatibility issues.

@scRewDriver32
Copy link

If you are using img2img and getting this error, try this-
for example- If you are setting your output size to 832x832 but you pasted 768x768 pixels image for the reference, than try to upscale the reference image to 832x832 beforehand than place it in the UI for image generation. It should work.

@dalmackay
Copy link

dalmackay commented Apr 25, 2023

still can't use any swinIR upscalers. in img2img or Extras, latest commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

5 participants