Mook

Results issues of Mook

## Summary `get_rotary_pos_embed` is called **inside every DiT `forward()`**, i.e. once per denoising step. Its inputs (latent grid size, head dim, theta, dtype, SP shard,`start_frame`) are **constant across the entire...

type: perf
scope: infra
scope: model

## Purpose `_apply_rotary_emb` launches 5–9 CUDA kernels per call (`reshape` + `unbind` + `stack` + `flatten` + two `float()` casts + `mul` + `add` + dtype cast) and shuttles the...

type: perf
scope: kernel
scope: model