mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-18 22:08:13 +00:00
16 lines
416 B
Python
16 lines
416 B
Python
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__()
|