Buckets:
JoyImageEditTransformer3DModel
The model can be loaded with the following code snippet.
from diffusers import JoyImageEditTransformer3DModel
transformer = JoyImageEditTransformer3DModel.from_pretrained("jdopensource/JoyAI-Image-Edit-Diffusers", subfolder="transformer", torch_dtype=torch.bfloat16)
JoyImageEditTransformer3DModel[[diffusers.JoyImageEditTransformer3DModel]]
JoyImage Transformer model for image generation / editing.
Dual-stream DiT architecture with WAN-style conditioning embeddings and custom rotary position embeddings.
- hidden_states (
torch.Tensorof shape(batch_size, num_channels, num_frames, height, width)or(batch_size, num_items, num_channels, num_frames, height, width)) -- Inputhidden_states. - timestep (
torch.LongTensor) -- Used to indicate denoising step. - encoder_hidden_states (
torch.Tensor, optional) -- Conditional embeddings (embeddings computed from the input conditions such as prompts) to use. - return_dict (
bool, optional, defaults toTrue) -- Whether or not to return a~models.transformer_2d.Transformer2DModelOutputinstead of a plain tuple.
The JoyImageEditTransformer3DModel forward method.
Transformer2DModelOutput[[diffusers.models.modeling_outputs.Transformer2DModelOutput]]
- sample (
torch.Tensorof shape(batch_size, num_channels, height, width)or(batch size, num_vector_embeds - 1, num_latent_pixels)if Transformer2DModel is discrete) -- The hidden states output conditioned on theencoder_hidden_statesinput. If discrete, returns probability distributions for the unnoised latent pixels.
The output of Transformer2DModel.
Xet Storage Details
- Size:
- 1.96 kB
- Xet hash:
- 88228dc5429934bd4fc814faf0d46ea247bc914223db82f68eda86bd11e6fa3f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.