MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS / decorator

Function decorator

models/custom_autotune.py:164–165  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

162 :type reset_to_zero: list[str]
163 """
164 def decorator(fn):
165 return Autotuner(fn, fn.arg_names, configs, key, reset_to_zero, prune_configs_by, nearest_power_of_two)
166
167 return decorator

Callers

nothing calls this directly

Calls 1

AutotunerClass · 0.85

Tested by

no test coverage detected