Upload folder using huggingface_hub
Browse files20 unmodified lines2122232425262728231 unmodified lines26026126226326426526628 unmodified lines29529629729829930030120 unmodified linesBertModel,BertTokenizer,CLIPImageProcessor,MT5Tokenizer,T5EncoderModel,)from diffusers.callbacks import MultiPipelineCallbacks, PipelineCallback231 unmodified linesThe HunyuanDiT model designed by Tencent Hunyuan.text_encoder_2 (`T5EncoderModel`):The mT5 embedder. Specifically, it is 't5-v1_1-xxl'.tokenizer_2 (`MT5Tokenizer`):The tokenizer for the mT5 embedder.scheduler ([`DDPMScheduler`]):A scheduler to be used in combination with HunyuanDiT to denoise the encoded image latents.28 unmodified linesfeature_extractor: CLIPImageProcessor,requires_safety_checker: bool = True,text_encoder_2=T5EncoderModel,tokenizer_2=MT5Tokenizer,):super().__init__()20 unmodified lines2122232425262728231 unmodified lines26026126226326426526628 unmodified lines29529629729829930030120 unmodified linesBertModel,BertTokenizer,CLIPImageProcessor,T5EncoderModel,T5Tokenizer,)from diffusers.callbacks import MultiPipelineCallbacks, PipelineCallback231 unmodified linesThe HunyuanDiT model designed by Tencent Hunyuan.text_encoder_2 (`T5EncoderModel`):The mT5 embedder. Specifically, it is 't5-v1_1-xxl'.tokenizer_2 (`T5Tokenizer`):The tokenizer for the mT5 embedder.scheduler ([`DDPMScheduler`]):A scheduler to be used in combination with HunyuanDiT to denoise the encoded image latents.28 unmodified linesfeature_extractor: CLIPImageProcessor,requires_safety_checker: bool = True,text_encoder_2=T5EncoderModel,tokenizer_2=T5Tokenizer,):super().__init__()
main/pipeline_hunyuandit_differential_img2img.py+3-3