dylanyunlon 8951d74936 [OPT] Raise max-seq-len-to-capture to 65536 for more CUDA graph coverage
Analysis:
  CUDA graph eliminates kernel launch overhead (~10-20% for decode).
  At 32768, sequences >32K skip graph capture.
  At 65536, most competition workload sequences get graph acceleration.

  Memory: CUDA graph capture allocates one copy of all intermediate tensors
  at the max captured batch size. With max-num-seqs=1, this is one sequence's
  worth of tensors — small relative to model weights.

Combined with V2 enabled for seq>8192 and threshold raised to 65536,
the decode path is now:
  seq <= 8192:  V1 compiled kernel (fastest)
  8192 < seq <= 65536: V2 pytorch (single-bmm, good)
  seq > 65536: PyTorch fallback (rare at competition workload)
2026-07-30 16:15:01 +00:00
2026-07-30 17:03:23 +08:00

project_6

Description
No description provided
Readme 427 MiB
Languages
C++ 41.8%
Cuda 31.6%
Python 22.2%
C 2.1%
CMake 1.1%
Other 1.1%