MCPcopy Create free account
hub / github.com/antirez/ds4 / ds4_session_sample

Function ds4_session_sample

ds4.c:26990–26992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26988 /* Once the raw SWA window is full, short eval prompts leave less GPU work
26989 * in the four-layer prefix while the host still has the same remaining
26990 * tape to encode. Flushing again after layer 12 starts that middle work
26991 * soon enough to cover the early decode bubble; 12 measured better than
26992 * 8, 16, and 20 below position 2048. Positions below 128 retain the
26993 * single-tail schedule, which is slightly faster before the window fills.
26994 * Keep a separate rollback so the established 2K schedule remains
26995 * independently attributable. */

Callers 8

run_sampled_generationFunction · 0.85
run_chat_turnFunction · 0.85
run_one_caseFunction · 0.85
worker_sample_with_modeFunction · 0.85
generate_jobFunction · 0.85
test_think_tool_recoveryFunction · 0.85

Calls 1

sample_top_p_min_pFunction · 0.85

Tested by 3

test_think_tool_recoveryFunction · 0.68