Skip to content

fixed the upscaler by updating to use the configured torch device#235

Open
mysfitt wants to merge 1 commit intoSuzie1:mainfrom
mysfitt:main
Open

fixed the upscaler by updating to use the configured torch device#235
mysfitt wants to merge 1 commit intoSuzie1:mainfrom
mysfitt:main

Conversation

@mysfitt
Copy link
Copy Markdown

@mysfitt mysfitt commented Apr 10, 2025

The old .cpu() syntax is no longer supported in torch. This is a simple update to the new syntax using whatever torch device has been configured. This was breaking the CR Upscaler node, and anything else that depends on the upscaler function library.

@mysfitt
Copy link
Copy Markdown
Author

mysfitt commented Apr 10, 2025

This fixes the issue mentioned in #172

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.

1 participant