Method__init__(
self,
dim=128,
z_dim=4,
dim_mult=[1, 2, 4, 4],
num_res_blocks=2,
skyreels_v2_infer/modules/vae.py:240
Method__init__(
self,
dim=128,
z_dim=4,
dim_mult=[1, 2, 4, 4],
num_res_blocks=2,
skyreels_v2_infer/modules/vae.py:338
Method__init__(
self,
dim=128,
z_dim=4,
dim_mult=[1, 2, 4, 4],
num_res_blocks=2,
skyreels_v2_infer/modules/vae.py:445
Method__init__(self, dim, num_heads, window_size=(-1, -1), qk_norm=True, eps=1e-6)
skyreels_v2_infer/modules/transformer.py:117
Method__init__(self, dim, num_heads, window_size=(-1, -1), qk_norm=True, eps=1e-6)
skyreels_v2_infer/modules/transformer.py:211
Method__init__(
self,
cross_attn_type,
dim,
ffn_dim,
num_heads,
window_size=
skyreels_v2_infer/modules/transformer.py:267
Method__init__(
self, model_path, dit_path, device: str = "cuda", weight_dtype=torch.bfloat16, use_usp=False, offloa
skyreels_v2_infer/pipelines/image2video_pipeline.py:39
Method__init__(
self, model_path, dit_path, device: str = "cuda", weight_dtype=torch.bfloat16, use_usp=False, offloa
skyreels_v2_infer/pipelines/text2video_pipeline.py:18
Functionattention(
q,
k,
v,
q_lens=None,
k_lens=None,
dropout_p=0.0,
softmax_scale=None,
q_scal
skyreels_v2_infer/modules/attention.py:132
Methodforward imgs: [B, 3, H, W] of torch.float32. - mean: [0.48145466, 0.4578275, 0.40821073] - std: [0.26862954, 0.2613025
skyreels_v2_infer/modules/clip.py:397
Methodforward x: [B, L1, C]. context: [B, L2, C] or None. mask: [B, L2] or [B, L1, L2] or None.
skyreels_v2_infer/modules/t5.py:81
Methodforward(self, x, mask=None, encoder_states=None, encoder_mask=None, pos_bias=None)
skyreels_v2_infer/modules/t5.py:180
Methodforwardr""" Args: x(Tensor): Shape [B, L, C] e(Tensor): Shape [B, 6, C] seq_lens(Tensor): Shape [B], length of ea
skyreels_v2_infer/modules/transformer.py:301
Functionusp_attn_forwardr""" Args: x(Tensor): Shape [B, L, num_heads, C / num_heads] seq_lens(Tensor): Shape [B] grid_sizes(Tensor): Shape [B, 3],
skyreels_v2_infer/distributed/xdit_context_parallel.py:233