Quantumbraid's picture
download
raw
695 Bytes
from diffusers import PixArtTransformer2DModel as DiffusersPixArtTransformer2DModel
from diffusers import Transformer2DModel as DiffusersTransformer2DModel
from .._mixin import OstrisModelMixin
class PixArtTransformer2DModel(
DiffusersPixArtTransformer2DModel, OstrisModelMixin
):
aitk_subfolder = "transformer"
@classmethod
def get_transformer_block_names(cls):
return ["transformer_blocks"]
class Transformer2DModel(DiffusersTransformer2DModel, OstrisModelMixin):
"""The generic diffusers DiT the pixart sigma path loads."""
aitk_subfolder = "transformer"
@classmethod
def get_transformer_block_names(cls):
return ["transformer_blocks"]

Xet Storage Details

Size:
695 Bytes
·
Xet hash:
b03f7be1b7b257a3c45bc759f17a8abc816d0f87608f802ec6680a8e03fb53ea

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