MCPcopy Create free account
hub / github.com/FlashSampling/FlashSampling / bsz_h

Function bsz_h

src/fused_mm_sampling/tl_fused_mm_topk.py:110–115  ·  view source on GitHub ↗
(H: int)

Source from the content-addressed store, hash-verified

108
109
110def bsz_h(H: int) -> int: # noqa: N803
111 if H <= 16:
112 return 16
113 elif H <= 32:
114 return 32
115 return 64
116
117
118@torch.compiler.disable

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected