Quantumbraid's picture
download
raw
367 Bytes
from diffusers import UNet2DConditionModel as DiffusersUNet2DConditionModel
from .._mixin import OstrisModelMixin
class UNet2DConditionModel(DiffusersUNet2DConditionModel, OstrisModelMixin):
"""The SD1/SD2/SDXL-family UNet."""
aitk_subfolder = "unet"
@classmethod
def get_transformer_block_names(cls):
return ["down_blocks", "up_blocks"]

Xet Storage Details

Size:
367 Bytes
·
Xet hash:
36408681aa736b3f29f80a1fd226199688a6104ec7081fa74fec5714ffa6dea9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.