Files
hao-ai-lab-FastVideo/fastvideo
Mihir Jagtap df2cfbeefc Update rotary_embedding.py
# For rotate_half style RoPE (used by HunyuanVideo, GameCraft),
        # we need to expand cos/sin to full head_dim using repeat_interleave.
        # The rotate_half operation works on consecutive PAIRS: (x0,x1), (x2,x3)...
        # so cos/sin must be interleaved: [c0,c0,c1,c1,...] to match the pairing.
        # Using torch.cat would produce [c0,c1,...,c0,c1,...] which is WRONG.
2026-02-08 21:23:13 -08:00
..
2026-02-07 13:48:12 -08:00
2026-02-08 21:23:13 -08:00
2026-02-07 12:58:28 -08:00
2026-01-07 03:22:48 -08:00
2026-02-08 12:18:34 -08:00
2026-01-05 15:47:05 -06:00