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

Method finalize

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

Source from the content-addressed store, hash-verified

70 return self.num_dec + self.num_pre * self.pre_len + self.num_hyd
71
72 def finalize(self):
73 self.server_config.max_tokens_per_forward = self.total_tokens()
74 self.server_config.max_seqs_per_forward = self.total_tokens()
75
76 if self.graph:
77 assert self.plan_before and not self.only_plan
78
79 def l8(self):
80 self.server_config.model = "meta-llama/Llama-3.1-8B-Instruct"

Callers

nothing calls this directly

Calls 1

total_tokensMethod · 0.95

Tested by

no test coverage detected