Archived
sched: a bound on the preempted-prefill gate's wait
This commit is contained in:
1 parent
0792d86375
commit
33108e488b
16 files changed
+1522
-150
No files matched your search
@@ -136,7 +136,7 @@ private:
|
||||
* difference). Concurrent scrapes would both add the same difference, so they are serialised. */
|
||||
std::mutex sample_mu_;
|
||||
|
||||
Counter c_prompt_tokens_, c_generation_tokens_, c_preemptions_;
|
||||
Counter c_prompt_tokens_, c_generation_tokens_, c_preemptions_, c_preempt_forced_;
|
||||
/* Engine steps. With speculation a step emits 1 + the accepted drafts, so tokens/s does not
|
||||
* give step time; two scrapes of this counter and a clock do. */
|
||||
Counter c_steps_;
|
||||
@@ -150,6 +150,7 @@ private:
|
||||
/* Exact totals behind the rate gauges; see render(). */
|
||||
Counter c_prefill_tokens_, c_decode_tokens_, c_draft_tokens_, c_draft_accepted_;
|
||||
Counter c_draft_refills_, c_draft_refill_tokens_;
|
||||
Counter c_lookup_proposals_, c_lookup_held_, c_lookup_held_drafts_, c_lookup_held_hits_;
|
||||
Counter c_attn_cached_, c_linear_cached_, c_checkpoints_;
|
||||
Counter c_prefix_evict_, c_prefix_ckpt_evict_;
|
||||
Counter c_prefix_expired_, c_prefix_ckpt_expired_;
|
||||
|
||||
Reference in new issue
Block a user