Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlashSampling/FlashSampling
/ proton_context
Function
proton_context
src/fused_mm_sampling/persistent_matmul.py:714–719 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
712
713
@contextmanager
714
def
proton_context():
715
proton.activate(0)
716
try
:
717
yield
718
finally:
719
proton.deactivate(0)
720
721
722
def
bench_fn(label, reps, warmup_reps, fn, *args):
Callers
1
bench_fn
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected