MCPcopy Create free account
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 # decimal multipliers.
644 return -tl.log(-tl.log(tl.rand(seed + sample_idx, noise_offsets)))
645
646
647@lru_cache(maxsize=1)
648def set_torch_allocator_for_tma_descriptors_cached():
649 """From https://triton-lang.org/main/python-api/generated/triton.language.make_tensor_descriptor.html"""

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