Files
UnbiasedStrata/frontend
Robert KarlandClaude Fable 5.1 121d23ac2e Front end: leave the engine's 8-slot reserve out of max_new
The engine refuses a request unless prompt + max_new + 8 <= context, but
the front end sized max_new as context - prompt, so any client asking for
more tokens than remained (pi sends max_tokens 32768 on a 64K card) was
refused with "prompt (N) + max_new (M) exceeds the context" on every
prompt longer than context - max_tokens. Seen on the 1080 Ti Coder right
after a pi compaction left a 48K prompt.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-12 19:27:36 -07:00
..