MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / dtype

Method dtype

lightx2v/common/kvcache/base.py:101–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

99 cu_seqlens_q=cu_q,
100 cu_seqlens_kv=cu_k,
101 max_seqlen_q=q_heads.size(0),
102 max_seqlen_kv=kv_len,
103 )
104 attn_out = attn_out.view(q_heads.size(0), shard_heads, head_dim)
105 attn_out = all2all_head2seq(attn_out, group=seq_p_group)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected