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

Function launcher

src/fused_mm_sampling/bench/speed_test.py:172–175  ·  view source on GitHub ↗
(launch: "nvbench.Launch")

Source from the content-addressed store, hash-verified

170 torch.cuda.synchronize()
171
172 def launcher(launch: "nvbench.Launch"):
173 stream = _as_torch_stream(launch.get_stream())
174 with torch.cuda.stream(stream):
175 sampler.sample(**kwargs)
176
177 state.exec(launcher, batched=False)
178

Callers

nothing calls this directly

Calls 2

_as_torch_streamFunction · 0.85
sampleMethod · 0.45

Tested by

no test coverage detected