Skip to content

Be more clear about Spandrel model nomenclature and types#14477

Merged
AUTOMATIC1111 merged 2 commits intoAUTOMATIC1111:devfrom
akx:spandrel-type-fix
Dec 30, 2023
Merged

Be more clear about Spandrel model nomenclature and types#14477
AUTOMATIC1111 merged 2 commits intoAUTOMATIC1111:devfrom
akx:spandrel-type-fix

Conversation

@akx
Copy link
Collaborator

@akx akx commented Dec 30, 2023

Description

Depending on the value of half and dtype, load_spandrel_model could have returned a torch.Module instead of a spandrel.ModelDescriptor. Now it's certain to only return a descriptor (and typed as such).

Follows up on 3be9074 8100e90 somewhat...

Checklist:

@akx akx force-pushed the spandrel-type-fix branch from f03685d to 777af66 Compare December 30, 2023 22:23
@akx akx marked this pull request as ready for review December 30, 2023 22:24
@akx akx requested a review from AUTOMATIC1111 as a code owner December 30, 2023 22:24
@AUTOMATIC1111 AUTOMATIC1111 merged commit ce21840 into AUTOMATIC1111:dev Dec 30, 2023
@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