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

Fix SwinIR issues #14524

Merged
merged 3 commits into from
Jan 4, 2024
Merged

Fix SwinIR issues #14524

merged 3 commits into from
Jan 4, 2024

Conversation

akx
Copy link
Collaborator

@akx akx commented Jan 3, 2024

Description

These should fix the issues @wcde noticed in #14425 (comment).

I tested with the default SwinIR 4x model and 2x-LexicaSwinIR and both work on my Macbook.

Since Spandrel declares SwinIR models as supports_half=False, SwinIR will henceforth use float32. (With float16, all I got was a black image anyway.)

Screenshots/videos:

Here's a smaller version of the black image I got with float16: █

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit 3f7f61e into AUTOMATIC1111:dev Jan 4, 2024
3 checks passed
@w-e-w w-e-w mentioned this pull request Feb 17, 2024
@pawel665j pawel665j mentioned this pull request Apr 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants