MCPcopy Index your code
hub / github.com/FlashSampling/FlashSampling / prepare

Method prepare

src/fused_mm_sampling/core.py:645–646  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

643
644class Sampler(Protocol):
645 def prepare(self) -> "Sampler":
646 raise NotImplementedError()
647
648 def sample(self, **kwargs) -> torch.Tensor:
649 raise NotImplementedError()

Callers 8

verify_greedy_tp2Function · 0.45
_run_benchmarkFunction · 0.45
_prepare_caseFunction · 0.45
nvbench_kernelFunction · 0.45
test_top_k_top_pFunction · 0.45

Calls

no outgoing calls

Tested by 7

verify_greedy_tp2Function · 0.36
_prepare_caseFunction · 0.36
nvbench_kernelFunction · 0.36
test_top_k_top_pFunction · 0.36