Functionsp_attn_forward(self, x, seq_lens, grid_sizes, freqs, dtype=torch.bfloat16,
t_scale=1.0, method="linear",
wan_5b/distributed/sequence_parallel.py:166
Functionsp_causal_attn_forwardr""" Args: x(Tensor): Shape [B, L, num_heads, C / num_heads] seq_lens(Tensor): Shape [B] grid_sizes(Tensor): Shape [B, 3],
wan_5b/distributed/sequence_parallel.py:380
Functionstr2bool Convert a string to a boolean. Supported true values: 'yes', 'true', 't', 'y', '1' Supported false values: 'no', 'false', 'f', 'n', '0'
wan_5b/utils/utils.py:79