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.95 kB
- Xet hash:
- 03b27f47912c9c1f11f1945912ccef19040e9d6a47d1fc3beeeab4aca2b82a2b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.