MCPcopy Create free account
hub / github.com/ScalingIntelligence/tokasaurus / prof

Method prof

tokasaurus/benchmarks/bench_model.py:63–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61 self.graph = False
62
63 def prof(self):
64 self.profile = True
65 self.num_warmup = 3
66 self.num_iters = 10
67 self.num_profile_repeat = 3
68
69 def total_tokens(self):
70 return self.num_dec + self.num_pre * self.pre_len + self.num_hyd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected