Spandrel gives your project support for various PyTorch architectures meant for AI Super-Resolution, restoration, and inpainting. Based on the model support implemented in chaiNNer.
model.to will now throw a UnsupportedDtypeError if the given dtype is not supported. Parsing overloads in a nightmare btw.
Since PyTorch has no API for parsing dtype strings, I had to remove str from the allowed types for dtype. As I outlined in discord, this isn't necessarily a bad thing.
model.to
will now throw aUnsupportedDtypeError
if the given dtype is not supported. Parsing overloads in a nightmare btw.Since PyTorch has no API for parsing dtype strings, I had to remove
str
from the allowed types fordtype
. As I outlined in discord, this isn't necessarily a bad thing.