↓ 2 callersFunctionulysses_head_to_seqConvert [B, S_total, N_local, D] to [B, S_local, N, D].
wan_5b/distributed/sp_ulysses_inference.py:152
↓ 1 callersMethod__init__(
self,
dim=160,
dec_dim=256,
z_dim=48,
dim_mult=[1, 2, 4, 4],
utils/lightvae_5b_wrapper.py:162
↓ 1 callersMethod_forward_no_cache(self, q, k, v, grid_sizes, freqs, t_scale, method, original_seq_len)
wan_5b/modules/causal_model_sp_ulysses.py:147
↓ 1 callersMethod_forward_with_cache(self, q, k, v, grid_sizes, freqs, kv_cache,
current_start, cache_start, t_scale,
wan_5b/modules/causal_model_sp_ulysses.py:168