Diffutoon / diffsynth /models /sdxl_vae_decoder.py
kevinwang676's picture
Upload folder using huggingface_hub
fb4fac3 verified
raw
history blame
416 Bytes
from .sd_vae_decoder import SDVAEDecoder, SDVAEDecoderStateDictConverter
class SDXLVAEDecoder(SDVAEDecoder):
def __init__(self):
super().__init__()
self.scaling_factor = 0.13025
def state_dict_converter(self):
return SDXLVAEDecoderStateDictConverter()
class SDXLVAEDecoderStateDictConverter(SDVAEDecoderStateDictConverter):
def __init__(self):
super().__init__()