Files
project_6/qwen3_6_scripts
project6 32fdae237a perf(moe): CCCL basic_vector pattern — batch GPU→CPU sync in segment detection
thrust basic_vector.cu: device→host copy is batched (D = H, one memcpy).
Our MoE segment loop did int() per iteration — N separate GPU→CPU syncs.
Fix: .tolist() does ONE sync for all segment boundaries.

Maps to: qwen3_6_scripts/qwen3_5.py (_pure_pytorch_experts prefill path)
2026-08-07 09:03:12 +00:00
..